From 1291a4769eda6005db631706c6a3797c6ae36856 Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Mon, 2 Oct 2017 23:55:51 -0700 Subject: [PATCH] bpo-31670: Associate .wasm with application/wasm --- Lib/mimetypes.py | 1 + Lib/test/mime.types | 1 + Misc/HISTORY | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 5919b45a9b4f5f..4b81c2aa2a1459 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -516,6 +516,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/Lib/test/mime.types b/Lib/test/mime.types index 68724430c8a3fd..e9e43c2c4f3857 100644 --- a/Lib/test/mime.types +++ b/Lib/test/mime.types @@ -941,6 +941,7 @@ application/vnd.zul zir zirz application/vnd.zzazz.deck+xml zaz application/voicexml+xml vxml application/vq-rtcp-xr +application/wasm wasm application/watcherinfo+xml wif application/whoispp-query application/whoispp-response diff --git a/Misc/HISTORY b/Misc/HISTORY index 4872cfce80b585..87496c9537f16f 100644 --- a/Misc/HISTORY +++ b/Misc/HISTORY @@ -6683,6 +6683,8 @@ Library - Issue #15646: Prevent equivalent of a fork bomb when using `multiprocessing` on Windows without the ``if __name__ == '__main__'`` idiom. +- Issue #31670: Associate .wasm with application/wasm. + IDLE ----