summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNitish Chandra <nitishchandrachinta@gmail.com>2017-12-08 12:48:44 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2017-12-08 12:48:44 (GMT)
commitede157331b4f9e550334900b3b4de1c8590688de (patch)
tree1a5ac61cc353564d840dc2294e2f4bac7d59a382 /Lib
parent11cc289490b7b275fc0a033e2b376a8d4c780d9b (diff)
downloadcpython-ede157331b4f9e550334900b3b4de1c8590688de.zip
cpython-ede157331b4f9e550334900b3b4de1c8590688de.tar.gz
cpython-ede157331b4f9e550334900b3b4de1c8590688de.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mimetypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 4411202..c86dd6d 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -410,7 +410,7 @@ def _default_mime_types():
'.bat' : 'text/plain',
'.bcpio' : 'application/x-bcpio',
'.bin' : 'application/octet-stream',
- '.bmp' : 'image/x-ms-bmp',
+ '.bmp' : 'image/bmp',
'.c' : 'text/plain',
'.cdf' : 'application/x-netcdf',
'.cpio' : 'application/x-cpio',