Skip to content

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

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".

Activity

  1. changed the title [-]`mimetypes.py` uses deprecated [/-] [+]`mimetypes.py` uses deprecated "application/javascript"[/+] on Sep 29, 2022
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Sep 29, 2022
  3. added 2 commits that reference this issue on Oct 5, 2022
  4. added a commit that references this issue on Oct 7, 2022
  5. ambv commented on Oct 7, 2022

    @ambv
    Contributor

    Thanks for this! We're not backporting to 3.11 or 3.10 to avoid confusion. This change will land in Python 3.12.

  6. added a commit that references this issue on Oct 8, 2022
  7. added a commit that references this issue on Oct 11, 2022
  8. added a commit that references this issue on Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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