X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fd080b34a321cbd6593d69f427b9eaeab890712f..85e4b825947790d9cde66cb8c390dc2e216dac9a:/lib/controller/proxy.go?ds=sidebyside diff --git a/lib/controller/proxy.go b/lib/controller/proxy.go index d7381860ea..13dfcac16a 100644 --- a/lib/controller/proxy.go +++ b/lib/controller/proxy.go @@ -42,6 +42,9 @@ var dropHeaders = map[string]bool{ "Accept-Encoding": true, "Content-Encoding": true, "Transfer-Encoding": true, + + // Content-Length depends on encoding. + "Content-Length": true, } type ResponseFilter func(*http.Response, error) (*http.Response, error)