From 47e5f791223773dd46273153e9fa5b48f848f0c9 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 6 Sep 2017 15:31:36 -0700 Subject: [PATCH] [2.7] bpo-30824: Add mimetype for .json (GH-3048) (#3394) (cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7) --- Lib/mimetypes.py | 1 + 1 file changed, 1 insertion(+) 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', -- 2.50.1