From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 7 Sep 2017 00:04:14 +0000 (-0700) Subject: [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401) X-Git-Tag: v3.6.3rc1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e29ab7e75138e198b51c8bd04afa16d9d2c976a5;p=python [3.6] bpo-30824: Add mimetype for .json (GH-3048) (#3401) (cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7) --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 9a886803dc..5a7e6493bf 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',