This is an automated email from the ASF dual-hosted git repository. clewolff pushed a commit to branch storage-minio-integration-tests in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit ec4625bb4e294b35a6b6f48a6b5c93c6843416ba Author: Clemens Wolff <[email protected]> AuthorDate: Sun May 2 11:23:29 2021 -0400 Pass-through content_encoding in S3 driver --- libcloud/storage/drivers/s3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libcloud/storage/drivers/s3.py b/libcloud/storage/drivers/s3.py index a19d5c6..8de8f92 100644 --- a/libcloud/storage/drivers/s3.py +++ b/libcloud/storage/drivers/s3.py @@ -1062,6 +1062,7 @@ class BaseS3StorageDriver(StorageDriver): def _headers_to_object(self, object_name, container, headers): hash = headers['etag'].replace('"', '') extra = {'content_type': headers['content-type'], + 'content_encoding': headers.get('content-encoding'), 'etag': headers['etag']} meta_data = {}
