From 4b41745b3c65ef4807cd1108dce12d3e0c173f20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Filip=20=C5=A0?= Date: Wed, 11 Sep 2019 15:32:04 +0200 Subject: [PATCH] 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 --- 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 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 -- 2.40.0