Skip to content

Add a few Microsoft-specific MIME types #145717

Description

@clin1234

Feature or enhancement

Proposal:

MIME types to be present in Lib/mimetypes.py and Lib/tests/mimetypes.py:

  • ("application/vnd.microsoft.portable-executable", ".exe" or ".dll"),
  • ("application/vnd.ms-cab-compressed", ".cab"),
  • ("application/vnd.ms-htmlhelp", ".chm"),
  • ("application/vnd.ms-officetheme", ".thmx"),
  • ("image/vnd.microsoft.icon", ".ico"),

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Mar 10, 2026
  2. changed the title [-]Add a few Microsoft-specific MIME types, and synchronize between `mimetypes` module and tests[/-] [+]Add a few Microsoft-specific MIME types[/+] on Mar 11, 2026
  3. added a commit that references this issue on Mar 12, 2026
  4. added a commit that references this issue on Apr 25, 2026
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/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions