]> granicus.if.org Git - python/commitdiff
bpo-30824: Add mimetype for .json (#3048)
authorNate Tangsurat <e4r7hbug@gmail.com>
Mon, 14 Aug 2017 18:39:45 +0000 (13:39 -0500)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 14 Aug 2017 18:39:45 +0000 (14:39 -0400)
Lib/mimetypes.py

index 3d686948645596442e75f4ccb7045fa2efa86d08..5919b45a9b4f5fc8abb5a73cd54407eeeaf1814c 100644 (file)
@@ -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',