-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
HTTP client response not decompressed after redirect #9309
Comments
This should be resolved by #9265 and the corresponding backport PR to 7.x, which will be released in 8.6.0 and 7.30.0 |
Ah! 😄 Just tested from the |
I think we can mark as a dup of #9143 and close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
In puppetlabs/puppetlabs-apt#1170, @beliys report an issue with a ASCII armored GPG key that appear as a binary file after download. The issue can be reproduced using this minimal example:
The URL in the first file
source
redirects to the URL in the second filesource
.Both downloaded files should have the same content in the end, but it happens that the first one seems to save the gzip compressed response from the final request, while the second one save the actual decompressed file (as expected).
Expected Behavior
The saved file should be the same, regardless of the presence of HTTP redirects.
Steps to Reproduce
See above example.
Environment
Additional Context
n/a
The text was updated successfully, but these errors were encountered: