summaryrefslogtreecommitdiffstats
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorBradley Meck <bradley.meck@gmail.com>2018-10-08 20:04:55 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2018-10-08 20:04:55 (GMT)
commit0854b92cd25613269d21de3cb5239379ddc0f2fb (patch)
tree90df4e6b26bd6d2ff915a3c660f83e633ac274c1 /Lib/mimetypes.py
parent5eea0ad50c32d38909ff4e29309e2cc3c6ccb2c0 (diff)
downloadcpython-0854b92cd25613269d21de3cb5239379ddc0f2fb.zip
cpython-0854b92cd25613269d21de3cb5239379ddc0f2fb.tar.gz
cpython-0854b92cd25613269d21de3cb5239379ddc0f2fb.tar.bz2
bpo-31715 Add mimetype for extension .mjs (#3908)
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r--Lib/mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index f258721..d5006fa 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -448,6 +448,7 @@ def _default_mime_types():
'.mht' : 'message/rfc822',
'.mhtml' : 'message/rfc822',
'.mif' : 'application/x-mif',
+ '.mjs' : 'application/javascript',
'.mov' : 'video/quicktime',
'.movie' : 'video/x-sgi-movie',
'.mp2' : 'audio/mpeg',