Content-Length: 291739 | pFad | https://github.com/python/cpython/issues/97646

B3 `mimetypes.py` uses deprecated "application/javascript" · Issue #97646 · python/cpython · GitHub
Skip to content

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

@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

    stdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/97646

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy