From 35d0934040223f1360b2b343005fcc8ebbc65c1a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Sep 2019 07:13:31 -0700 Subject: [PATCH] bpo-37305: add MIME type for Web App Manifest (GH-14199) (#15946) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * bpo-37305: add MIME type for Web App Manifest Co-authored-by: Filip Å  --- Lib/mimetypes.py | 1 + .../next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2019-06-18-13-59-55.bpo-37305.fGzWlP.rst diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f38005c9d295..9fdd6ebd6348 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 000000000000..5bd2cd4d30af --- /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 -- 2.47.3