summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 14:13:31 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2019-09-11 14:13:31 (GMT)
commit35d0934040223f1360b2b343005fcc8ebbc65c1a (patch)
tree0d9db0f733fa207ed3666d67dc44583aea86b222
parentcbd7b2a399a8ff2ed9994c380b07ef598892b6b1 (diff)
downloadcpython-35d0934040223f1360b2b343005fcc8ebbc65c1a.zip
cpython-35d0934040223f1360b2b343005fcc8ebbc65c1a.tar.gz
cpython-35d0934040223f1360b2b343005fcc8ebbc65c1a.tar.bz2
bpo-37305: add MIME type for Web App Manifest (GH-14199) (#15946)
* bpo-37305: add MIME type for Web App Manifest Co-authored-by: Filip Š <filip.stamcar@hotmail.com>
-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 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