This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andrey
Recipients Andrey, christian.heimes, r.david.murray
Date 2017-11-14.14:34:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510670043.98.0.213398074469.issue32021@psf.upfronthosting.co.za>
In-reply-to
Content
When "type, encoding = mimetypes.guess_type('file.js.br')" is used not only the "encoding" is not set to "brotli", but the type is also not recognized. Such code is used in aiohttp for example. My proposal is to add 'br' to mimetypes.encodings_map, not to mimetypes.types_map
History
Date User Action Args
2017-11-14 14:34:04Andreysetrecipients: + Andrey, christian.heimes, r.david.murray
2017-11-14 14:34:03Andreysetmessageid: <1510670043.98.0.213398074469.issue32021@psf.upfronthosting.co.za>
2017-11-14 14:34:03Andreylinkissue32021 messages
2017-11-14 14:34:03Andreycreate