Skip to content

Commit ede1573

Browse files
nitishchbitdancer
authored andcommitted
bpo-22589 Changed MIME type of .bmp to "image/bmp" (#4756)
Per rfc7903 this is the standard MIME type for this file format, and appears as such in the IANA MIME registry.
1 parent 11cc289 commit ede1573

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/mimetypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def _default_mime_types():
410410
'.bat' : 'text/plain',
411411
'.bcpio' : 'application/x-bcpio',
412412
'.bin' : 'application/octet-stream',
413-
'.bmp' : 'image/x-ms-bmp',
413+
'.bmp' : 'image/bmp',
414414
'.c' : 'text/plain',
415415
'.cdf' : 'application/x-netcdf',
416416
'.cpio' : 'application/x-cpio',
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/bmp'

0 commit comments

Comments
 (0)