There was an error while loading. Please reload this page.
1 parent 5384dd1 commit 90a5199Copy full SHA for 90a5199
aws_s3--0.0.1.sql
@@ -92,7 +92,7 @@ AS $$
92
response = obj.get()
93
content_encoding = response.get('ContentEncoding')
94
body = response['Body']
95
- user_content_encoding = response.get('x-amz-meta-content-encoding') or response.get("ResponseMetadata", {}).get("x-amz-meta-content-encoding")
+ user_content_encoding = response.get('x-amz-meta-content-encoding') or response.get("Metadata", {}).get("content-encoding")
96
97
with tempfile.NamedTemporaryFile() as fd:
98
if (content_encoding and content_encoding.lower() == 'gzip') or (user_content_encoding and user_content_encoding.lower() == 'gzip'):
0 commit comments