diff options
author | Nate Tangsurat <e4r7hbug@gmail.com> | 2017-08-14 18:39:45 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2017-08-14 18:39:45 (GMT) |
commit | 8204b903683f9e0f037ccfaa87622716019914d7 (patch) | |
tree | a66b2cef3e136d389ab71cd0178852e44c3d1b06 | |
parent | d4b93e21c2664d6a78e0656e7a7be0807be1c352 (diff) | |
download | cpython-8204b903683f9e0f037ccfaa87622716019914d7.zip cpython-8204b903683f9e0f037ccfaa87622716019914d7.tar.gz cpython-8204b903683f9e0f037ccfaa87622716019914d7.tar.bz2 |
bpo-30824: Add mimetype for .json (#3048)
-rw-r--r-- | Lib/mimetypes.py | 1 |
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', |