diff options
author | Filip Š <filip.stamcar@hotmail.com> | 2019-09-11 13:32:04 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-09-11 13:32:04 (GMT) |
commit | 4b41745b3c65ef4807cd1108dce12d3e0c173f20 (patch) | |
tree | a32272020e402373cf0a362ab1231ee58e436f6b | |
parent | 088a09af4bdeff52b9dedeb7acd1e82069f37d98 (diff) | |
download | cpython-4b41745b3c65ef4807cd1108dce12d3e0c173f20.zip cpython-4b41745b3c65ef4807cd1108dce12d3e0c173f20.tar.gz cpython-4b41745b3c65ef4807cd1108dce12d3e0c173f20.tar.bz2 |
bpo-37305: add MIME type for Web App Manifest (#14199)
* bpo-37305: add MIME type for Web App Manifest
* bpo-37305: add news entry
* Restore indentation and sort by value
-rw-r--r-- | Lib/mimetypes.py | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f38005c..9fdd6eb 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -415,6 +415,7 @@ def _default_mime_types(): '.js' : 'application/javascript', '.mjs' : 'application/javascript', '.json' : 'application/json', + '.webmanifest': 'application/manifest+json', '.doc' : 'application/msword', '.dot' : 'application/msword', '.wiz' : 'application/msword', diff --git a/Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst b/Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst new file mode 100644 index 0000000..5bd2cd4 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst @@ -0,0 +1,2 @@ +Add .webmanifest -> application/manifest+json to list of recognized file types +and content type headers |