From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Sep 2019 14:13:31 +0000 (-0700) Subject: bpo-37305: add MIME type for Web App Manifest (GH-14199) (#15946) X-Git-Tag: v3.8.0rc1~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35d0934040223f1360b2b343005fcc8ebbc65c1a;p=thirdparty%2FPython%2Fcpython.git 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 Š --- 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