Skip to content

Commit 199a280

Browse files
travisoneillasvetlov
authored andcommitted
bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464)
1 parent 6261ae9 commit 199a280

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ def _default_mime_types():
515515
'.txt' : 'text/plain',
516516
'.ustar' : 'application/x-ustar',
517517
'.vcf' : 'text/x-vcard',
518+
'.wasm' : 'application/wasm',
518519
'.wav' : 'audio/x-wav',
519520
'.webm' : 'video/webm',
520521
'.wiz' : 'application/msword',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add .wasm -> application/wasm to list of recognized file types and content
2+
type headers

0 commit comments

Comments
 (0)