From: Andreas Jansson Date: Sat, 29 May 2021 01:20:46 +0000 (-0700) Subject: Remove duplicate mime type mapping .bmp -> image/x-ms-bmp (GH-26300) X-Git-Tag: v3.11.0a1~992 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de14d709e35379e3682847c24f5969f3731ec5d4;p=thirdparty%2FPython%2Fcpython.git Remove duplicate mime type mapping .bmp -> image/x-ms-bmp (GH-26300) Thanks for the contribution @andreasjansson --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 018793c4f01e..4cd94042126f 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -513,7 +513,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',