From 2dbdc32f552569b3d073fcb1b56f1fa4f46fe546 Mon Sep 17 00:00:00 2001 From: Andreas Jansson Date: Fri, 28 May 2021 18:20:46 -0700 Subject: [PATCH] Remove duplicate mime type mapping .bmp -> image/x-ms-bmp (GH-26300) Thanks for the contribution @andreasjansson (cherry picked from commit de14d709e35379e3682847c24f5969f3731ec5d4) Co-authored-by: Andreas Jansson --- Lib/mimetypes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 92c2a470e9789d..838d5745978e03 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -501,7 +501,6 @@ def _default_mime_types(): '.tif' : 'image/tiff', '.ico' : 'image/vnd.microsoft.icon', '.ras' : 'image/x-cmu-raster', - '.bmp' : 'image/x-ms-bmp', '.pnm' : 'image/x-portable-anymap', '.pbm' : 'image/x-portable-bitmap', '.pgm' : 'image/x-portable-graymap',