From 199a280af540e3194405eb250ca1a8d487f6a4f7 Mon Sep 17 00:00:00 2001 From: travisoneill Date: Mon, 8 Oct 2018 21:43:58 -0700 Subject: [PATCH] bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464) --- Lib/mimetypes.py | 1 + .../next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index d5006fa4d3..bc647115b1 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -515,6 +515,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', 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 0000000000..82e38aa6e1 --- /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 -- 2.50.1