Message306215
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 | |
| Date | User | Action | Args | | 2017-11-14 14:34:04 | Andrey | set | recipients: + Andrey, christian.heimes, r.david.murray | | 2017-11-14 14:34:03 | Andrey | set | messageid: <1510670043.98.0.213398074469.issue32021@psf.upfronthosting.co.za> | | 2017-11-14 14:34:03 | Andrey | link | issue32021 messages | | 2017-11-14 14:34:03 | Andrey | create | | |