1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-13 23:57:38 +02:00
Files
imgproxy/download.go
Ewan Higgs c7fcb9b94f Allow compression at the transport level. (#595)
* Allow compression at the transport level.

* Do not enable compression but do decompress compressed content-encodings.

* Fix import in download.go to use std compress/go.

* Fix issue with err shadowing.

* Don't overwrite resBody on download of original image.

Set content length to 0 if data was compressed.
2021-03-25 16:43:30 +06:00

5.9 KiB