From: travisoneill Date: Tue, 9 Oct 2018 04:43:58 +0000 (-0700) Subject: bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464) X-Git-Tag: v3.8.0a1~809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=199a280af540e3194405eb250ca1a8d487f6a4f7;p=thirdparty%2FPython%2Fcpython.git bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464) --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index d5006fa4d316..bc647115b18e 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 000000000000..82e38aa6e158 --- /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