disconnect3d <[email protected]> added the comment:
To be more specific and to keep this information historically, the .bmp
registers two mimetypes - 'image/bmp' and 'image/x-ms-bmp'.
Below a part of the relevant code.
```
types_map = _types_map_default = {
# (...)
'.bmp' : 'image/bmp',
'.gif' : 'image/gif',
'.ief' : 'image/ief',
'.jpg' : 'image/jpeg',
'.jpe' : 'image/jpeg',
'.jpeg' : 'image/jpeg',
'.png' : 'image/png',
'.svg' : 'image/svg+xml',
'.tiff' : 'image/tiff',
'.tif' : 'image/tiff',
'.ico' : 'image/vnd.microsoft.icon',
'.ras' : 'image/x-cmu-raster',
'.bmp' : 'image/x-ms-bmp',
```
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37529>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com