From 3ef131dc21cfa6e90d4eca3a98140c71dca373ee Mon Sep 17 00:00:00 2001 From: travisoneill Date: Thu, 20 Sep 2018 17:15:00 -0700 Subject: [PATCH 1/2] bpo-34758: add .wasm to recognized file extensions in mimetypes module --- Lib/mimetypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f25872102b8c27..80d9a3f88d0f4e 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -514,6 +514,7 @@ def _default_mime_types(): '.txt' : 'text/plain', '.ustar' : 'application/x-ustar', '.vcf' : 'text/x-vcard', + '.wasm' : 'application/wasm', '.wav' : 'audio/x-wav', '.webm' : 'video/webm', '.wiz' : 'application/msword', From 53c01cf19dc507f9252e9f6ee0d5c5cdce14ec6c Mon Sep 17 00:00:00 2001 From: travisoneill Date: Wed, 26 Sep 2018 14:09:51 -0700 Subject: [PATCH 2/2] add news entry --- .../next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst diff --git a/Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst b/Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst new file mode 100644 index 00000000000000..82e38aa6e158bc --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst @@ -0,0 +1,2 @@ +Add .wasm -> application/wasm to list of recognized file types and content +type headers