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

Avoid adding gzip-encoding to requests implicitly #10691

Merged
merged 1 commit into from
Feb 3, 2021

Commits on Feb 3, 2021

  1. Avoid adding gzip-encoding to requests implicitly

    Go helpfully adds an Accept-Encoding: gzip header to requests by
    default, and silently uncompresses the response if it did so and the
    server added compression in response. While this is normally a good
    thing, in our case this means we silently add an extra "Accept-Encoding"
    header to requests before they get to the user container, and if the
    user container compresses the request in response we then pointlessly
    uncompress the response inside Queue Proxy. This commit picks up the new
    NewProxyAutoTransport method from pkg to avoid this behaviour.
    julz committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    f36d9bd View commit details
    Browse the repository at this point in the history