mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 00:43:49 +01:00
2781f8e2f1
Before this change, if an object compressed with "Content-Encoding: gzip" was downloaded, a length and hash mismatch would occur since the as the go runtime automatically decompressed the object on download. This change erases the length and hash on compressed objects so they can be downloaded successfully, at the cost of not being able to check the length or the hash of the downloaded object. This also adds the --gcs-download-compressed flag to allow the compressed files to be downloaded as-is providing compressed objects with intact size and hash information. Fixes #2658 |
||
---|---|---|
.. | ||
googlecloudstorage_test.go | ||
googlecloudstorage.go |