Bug 64024 - Add MIME types for Python
Summary: Add MIME types for Python
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2019-12-21 14:45 UTC by jdek
Modified: 2019-12-21 14:45 UTC (History)
1 user (show)



Attachments
Patch to add type (939 bytes, application/mbox)
2019-12-21 14:45 UTC, jdek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jdek 2019-12-21 14:45:03 UTC
Created attachment 36928 [details]
Patch to add type

Python self-describes its MIME types[1][2]. They do not have a IANA registration since they are using the '*/x-*' format anyway, but Python should be a 'common' unregistered format anyway?

If you don't think this is OK, then I can try see what needs to be done to get an official media type.

[1]: https://github.com/python/cpython/blob/19a3d873005e5730eeabdc394c961e93f2ec02f0/Lib/mimetypes.py#L457
[2]: https://github.com/python/cpython/blob/19a3d873005e5730eeabdc394c961e93f2ec02f0/Lib/mimetypes.py#L528