[Python-checkins] [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401)
R. David Murray
webhook-mailer at python.org
Wed Sep 6 20:04:18 EDT 2017
https://github.com/python/cpython/commit/e29ab7e75138e198b51c8bd04afa16d9d2c976a5
commit: e29ab7e75138e198b51c8bd04afa16d9d2c976a5
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: R. David Murray <rdmurray at bitdance.com>
date: 2017-09-06T20:04:14-04:00
summary:
[3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401)
(cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7)
files:
M Lib/mimetypes.py
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 9a886803dc1..5a7e6493bf5 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