]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464)
authortravisoneill <travis.h.oneill@gmail.com>
Tue, 9 Oct 2018 04:43:58 +0000 (21:43 -0700)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 9 Oct 2018 04:43:58 +0000 (07:43 +0300)
Lib/mimetypes.py
Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst [new file with mode: 0644]

index d5006fa4d3161c2b07399b1dc611f1a7960f22ec..bc647115b18e016e9b4b465b709d00255adc47d3 100644 (file)
@@ -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 (file)
index 0000000..82e38aa
--- /dev/null
@@ -0,0 +1,2 @@
+Add .wasm -> application/wasm to list of recognized file types and content
+type headers