[New-bugs-announce] [issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

Brian Matthews report at bugs.python.org
Thu Oct 9 21:00:16 CEST 2014


New submission from Brian Matthews:

In the file mimetypes.py the mime type for bmp files should be image/bmp for IE8 and later. the problem is that if the content header for 'nosniff' is set, then the bmp file fails to display due to the incorrect mime type.

----------
components: IO
messages: 228892
nosy: brma
priority: normal
severity: normal
status: open
title: mimetypes uses image/x-ms-bmp as the type for bmp files
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22589>
_______________________________________


More information about the New-bugs-announce mailing list