summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Š <filip.stamcar@hotmail.com>2019-09-11 15:32:04 +0200
committerJason R. Coombs <jaraco@jaraco.com>2019-09-11 14:32:04 +0100
commit4b41745b3c65ef4807cd1108dce12d3e0c173f20 (patch)
treea32272020e402373cf0a362ab1231ee58e436f6b
parent088a09af4bdeff52b9dedeb7acd1e82069f37d98 (diff)
downloadcpython-git-4b41745b3c65ef4807cd1108dce12d3e0c173f20.tar.gz
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.py1
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index f38005c9d2..9fdd6ebd63 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 0000000000..5bd2cd4d30
--- /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