Skip to content

Some mimetypes entries are out of date #141018

Closed

Description

@StanFromIreland

Feature or enhancement

The reason why .exe & co are mapped to octect-stream is likely for convenience (the IANA type for .exe is https://www.iana.org/assignments/media-types/application/vnd.microsoft.portable-executable)

That seems like a bug, the addition of .exe (1997) predates the official registration (2015) of the application/vnd.microsoft.portable-executable mimetype.

Originally posted by @StanFromIreland in #140942

Linked PRs

Activity

  1. added
    type-featureA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directory
    on Nov 4, 2025
  2. StanFromIreland commented on Nov 4, 2025

    @StanFromIreland
    MemberAuthor

    Other bugs include, jpg is duplicated:

    '.jpg' : 'image/jpg',

    And some non-registered mimetypes (e.g. jpe) are included in the registered list.

  3. cmaloney commented on Nov 7, 2025

    @cmaloney
    Contributor

    related: gh-87710 for ".ai" (The files used to be postscript but are no longer)

  4. added a commit that references this issue on Nov 17, 2025
  5. added a commit that references this issue on Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions