Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content encoding is not applied when downloading #11662

Closed
cyberduck opened this issue May 7, 2021 · 1 comment
Closed

Content encoding is not applied when downloading #11662

cyberduck opened this issue May 7, 2021 · 1 comment
Assignees
Labels
bug fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

dfcae7b created the issue

repro: upload some gzipped plaintext with content-encoding "gzip" and content-type "text/plain"
cyberduck download-to: file is not decompressed
cyberduck copy url and download from browser: file is decompresed properly

I think this was introduced to fix something else (#8263)

In the linked ticket I do not think the root cause was understood correctly - gzip content-encoding and s3 is fine, however Cloudtrail logs used concatenated gzip and that is not well supported for content-encoding (every current major browser will behave the same and end the response after the first gzip file. Opera is the exception - see this relevant bug report for Chrome marked wontfix https://bugs.chromium.org/p/chromium/issues/detail?id=20884)

expected behavior: I would prefer files with content-encoding are decoded accordingly, and wouldn't mind an additional option to download files unmodified for special use cases or as a work around for Cloudtrail's buggy behavior.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In ec6d91b.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants