summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMyles Borins <myles.borins@gmail.com>2018-12-20 20:28:28 (GMT)
committerNed Deily <nad@python.org>2018-12-20 20:28:28 (GMT)
commit70db385944ecf2ceed10ed7d91fce68399f9ca8a (patch)
treea2a39bcf2c339ac9a2be0c31c62975343c2468db /Lib
parent782e1d537778d93eb4cba1343f71bfc51e7e3c00 (diff)
downloadcpython-70db385944ecf2ceed10ed7d91fce68399f9ca8a.zip
cpython-70db385944ecf2ceed10ed7d91fce68399f9ca8a.tar.gz
cpython-70db385944ecf2ceed10ed7d91fce68399f9ca8a.tar.bz2
[3.6] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10976)
(cherry picked from commit 0854b92cd2)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 5a7e649..7321354 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -450,6 +450,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',