GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `mimetypes.py` uses deprecated "application/javascript" · Issue #97646 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
mimetypes.py uses deprecated "application/javascript"#97646
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory

Description

@ppena-LiveData
ppena-LiveData
opened on Sep 29, 2022
Issue body actions

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

Reacted by Noam Cohen

Activity

  1. ppena-LiveData
    changed the title [-]`mimetypes.py` uses deprecated [/-] [+]`mimetypes.py` uses deprecated "application/javascript"[/+] on Sep 29, 2022
  2. mdboom
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Sep 29, 2022
  3. noamcohen97
    added 2 commits that reference this issue on Oct 5, 2022

    pythongh-97646: change `.js` and `.mjs` files mimetype to conform to …

    82c0b53

    pythongh-97646: change `.js` and `.mjs` files mimetype to conform to …

    faba96e
  4. ambv
    added a commit that references this issue on Oct 7, 2022

    gh-97646: Change `.js` and `.mjs` files mimetype to conform to RFC 92…

    2a16835
  5. ambv commented on Oct 7, 2022

    @ambv
    ambv
    on Oct 7, 2022
    Contributor
    More actions

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

    Reacted by Noam Cohen
  6. ambv
    closed this as completedon Oct 7, 2022
  7. carljm
    added a commit that references this issue on Oct 8, 2022

    Merge branch 'main' into typewatch

    27a4980
  8. mpage
    added a commit that references this issue on Oct 11, 2022

    pythongh-97646: Change `.js` and `.mjs` files mimetype to conform to …

    9f5d3b5
  9. m9810223
    added 3 commits that reference this issue on Nov 6, 2023

    feat: update overriding mimetype

    e4728fc

    feat: update overriding mimetype

    a189ef2

    feat: update overriding mimetype

    74a4f03
  10. yagebu
    added a commit that references this issue on Nov 11, 2023

    feat: update overriding mimetype

    ec53ba6
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/ directoryStandard Library Python modules in the Lib/ directory

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.