-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-129965: Add more missing MIME types #132845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Doc/whatsnew/3.14.rst
Outdated
Add EPUB ``application/epub+zip`` (``.epub``) | ||
* Add 7z ``application/x-7z-compressed`` (``.7z``) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep this list sorted? It's unclear if the new additions fall under the 'de facto' category or if some of them have standards bodies, like above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
It may be clearer to rewrite a bunch of these addition bullets together, even though they were contributed across a few issues. But that can be future copyediting.
Based on the last list here:
I used the MIME types from the following sources.
From https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types
application/x-httpd-php
From Wikipedia:
application/vnd.android.package-archive
(added to non-strict list because not in IANA orx-
prefix)application/x-7z-compressed
video/x-m4v
From https://mimetype.io
application/x-debian-package
application/x-rpm
From https://learn.microsoft.com/en-us/previous-versions/windows/desktop/wmp/file-name-extensions
video/x-ms-wmv
All the rest from https://www.iana.org/assignments/media-types/media-types.xhtml
I didn't add these because they're not in IANA or MDN, and I didn't find any authoritative sources:
📚 Documentation preview 📚: https://cpython-previews--132845.org.readthedocs.build/