From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 6 Sep 2017 22:31:36 +0000 (-0700) Subject: [2.7] bpo-30824: Add mimetype for .json (GH-3048) (#3394) X-Git-Tag: v2.7.15rc1~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e5f791223773dd46273153e9fa5b48f848f0c9;p=python [2.7] bpo-30824: Add mimetype for .json (GH-3048) (#3394) (cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7) --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 157d455521..caecc11c37 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -442,6 +442,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',