Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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.
4cec0b5
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Based on the last list here:
I used the MIME types from the following sources.
Fromhttps://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
Fromhttps://mimetype.io
application/x-debian-package
application/x-rpm
Fromhttps://learn.microsoft.com/en-us/previous-versions/windows/desktop/wmp/file-name-extensions
video/x-ms-wmv
All the rest fromhttps://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/