From: Nate Tangsurat Date: Mon, 14 Aug 2017 18:39:45 +0000 (-0500) Subject: bpo-30824: Add mimetype for .json (#3048) X-Git-Tag: v3.7.0a1~284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8204b903683f9e0f037ccfaa87622716019914d7;p=thirdparty%2FPython%2Fcpython.git bpo-30824: Add mimetype for .json (#3048) --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 3d6869486455..5919b45a9b4f 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',