Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-32021: Support brotli .br encoding in mimetypes #12200
Conversation
This comment has been minimized.
This comment has been minimized.
the-knights-who-say-ni
commented
Mar 6, 2019
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for your contribution, we look forward to reviewing it! |
This comment has been minimized.
This comment has been minimized.
@bitdancer, @warsaw Any reason you can think of to not merge this? |
This comment has been minimized.
This comment has been minimized.
It looks like |
LGTM |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 12, 2020
@maxking: Please replace |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 12, 2020
|
philmcmahon commentedMar 6, 2019
•
edited by bedevere-bot
Currently python mimetypes does not support the brotli file extension. Brotli has decent browser support at this point.
My particular use case for this is that I would like the AWS S3 CLI to automatically set the Content-Type and Content-Encoding headers on brotli files uploaded to it - so for example a file script.js.br would have Content-Type: 'application/javascript' and Content-Encoding br. This relies on mimetypes.
https://bugs.python.org/issue32021