Skip to content

Add a few Microsoft-specific MIME types, and synchronize between mimetypes module and tests #145717

@clin1234

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

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