[Python-checkins] bpo-30824: Add mimetype for .json (#3048)
R. David Murray
webhook-mailer at python.org
Mon Aug 14 14:39:49 EDT 2017
https://github.com/python/cpython/commit/8204b903683f9e0f037ccfaa87622716019914d7
commit: 8204b903683f9e0f037ccfaa87622716019914d7
branch: master
author: Nate Tangsurat <e4r7hbug at gmail.com>
committer: R. David Murray <rdmurray at bitdance.com>
date: 2017-08-14T14:39:45-04:00
summary:
bpo-30824: Add mimetype for .json (#3048)
files:
M Lib/mimetypes.py
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 3d686948645..5919b45a9b4 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',
More information about the Python-checkins
mailing list