Azure / Azure/azure-storage-python

Disable gzip auto decoding

オープン
#548 コメント 7 件 リアクション 2 件 担当者 1 名 @xiafu-msft が担当を希望しています GitHub で見る
主要言語
Python
スター
343
フォーク
243
PR マージ指標
30日以内にマージされた PR はありません

説明

### Which service(blob, file, queue) does this issue concern?

blob

### Which version of the SDK was used? Please provide the output of `pip freeze`.

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?

No

Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。