Skip to content

mimetypes.py uses deprecated "application/javascript" #97646

Closed
@ppena-LiveData

Description

@ppena-LiveData

The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mimetypes.py) both say that type/subtype name is obsolete and should be replaced with "text/javascript".

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions