Disable gzip auto decodingSee original GitHub issue
Which service(blob, file, queue) does this issue concern?
Which version of the SDK was used? Please provide the output of
Azure 4.0.0, blob 1.4.0
What problem was encountered?
When downloading a gzipped file that contains
Content-Encoding: gzip through
get_blob_to_stream, the file is automatically decoded. This was reported at #509. However, I find the workaround not to be maintainable since it messes with private method/classes. I believe this is a valid use-case, one may want a file to be decoded by the browser but not when fetching it through the API.
Have you found a mitigation/solution?
Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
We must change my all websites to AWS S3 which support gzip file with minimum transfer and high performance.
The file is decoded after it’s downloaded. Performance is not really affected here. Azure does support gzip, the issue is just the python API doing this auto decoding which is quite unexpected.