summaryrefslogtreecommitdiffstats
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorNate Tangsurat <e4r7hbug@gmail.com>2017-08-14 18:39:45 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2017-08-14 18:39:45 (GMT)
commit8204b903683f9e0f037ccfaa87622716019914d7 (patch)
treea66b2cef3e136d389ab71cd0178852e44c3d1b06 /Lib/mimetypes.py
parentd4b93e21c2664d6a78e0656e7a7be0807be1c352 (diff)
downloadcpython-8204b903683f9e0f037ccfaa87622716019914d7.zip
cpython-8204b903683f9e0f037ccfaa87622716019914d7.tar.gz
cpython-8204b903683f9e0f037ccfaa87622716019914d7.tar.bz2
bpo-30824: Add mimetype for .json (#3048)
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 3d68694..5919b45 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -439,6 +439,7 @@ def _default_mime_types():
'.jpeg' : 'image/jpeg',
'.jpg' : 'image/jpeg',
'.js' : 'application/javascript',
+ '.json' : 'application/json',
'.ksh' : 'text/plain',
'.latex' : 'application/x-latex',
'.m1v' : 'video/mpeg',