summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravisoneill <travis.h.oneill@gmail.com>2018-10-09 04:43:58 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2018-10-09 04:43:58 (GMT)
commit199a280af540e3194405eb250ca1a8d487f6a4f7 (patch)
treeea558df11ddb089f3a97b798a43954e1290198d1
parent6261ae9b01fb8429b779169f8de37ff567c144e8 (diff)
downloadcpython-199a280af540e3194405eb250ca1a8d487f6a4f7.zip
cpython-199a280af540e3194405eb250ca1a8d487f6a4f7.tar.gz
cpython-199a280af540e3194405eb250ca1a8d487f6a4f7.tar.bz2
bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464)
-rw-r--r--Lib/mimetypes.py1
-rw-r--r--Misc/NEWS.d/next/Library/2018-09-26-14-09-34.bpo-34758.bRBfAi.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index d5006fa..bc64711 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 0000000..82e38aa
--- /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