jschneier / django-storages

https://django-storages.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.76k stars 863 forks source link

Fix GCloud GZIP #1456

Open thuibr opened 1 month ago

thuibr commented 1 month ago

Need to remove https://github.com/jschneier/django-storages/blob/master/storages/backends/gcloud.py#L67-L68 per https://stackoverflow.com/questions/67744979/how-to-prevent-gcs-from-automatically-decompressing-objects-when-using-python-sd. Supersedes #1454.

thuibr commented 1 month ago

It may instead be appropriate to use raw_download=True. Which is better?