From: Filip Š <filip.stamcar@hotmail.com>
Date: Wed, 11 Sep 2019 13:32:04 +0000 (+0200)
Subject: bpo-37305: add MIME type for Web App Manifest (#14199)
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b41745b3c65ef4807cd1108dce12d3e0c173f20;p=python

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
---

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