[ARVADOS] updated: 2.1.0-674-gf8b775eb6

Git user git at public.arvados.org
Mon Apr 19 17:05:01 UTC 2021


Summary of changes:
 lib/controller/proxy.go | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

       via  f8b775eb66b257f5c6a130ec8e5901d509cda805 (commit)
      from  474571865953620708d03b7d9467d3e3f59b863c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f8b775eb66b257f5c6a130ec8e5901d509cda805
Author: Nico Cesar <nico at nicocesar.com>
Date:   Mon Apr 19 13:03:39 2021 -0400

    Avoiding to drop off too many headers
    
    https://dev.arvados.org/issues/17437#note-18
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/lib/controller/proxy.go b/lib/controller/proxy.go
index 6eefc9b99..e3b73d323 100644
--- a/lib/controller/proxy.go
+++ b/lib/controller/proxy.go
@@ -39,10 +39,9 @@ var dropHeaders = map[string]bool{
 
 	// Headers that would interfere with Go's automatic
 	// compression/decompression if we forwarded them.
-	"Accept-Encoding":   true,
-	"Content-Encoding":  true,
-	"Transfer-Encoding": true,
-	"Content-Length":    true,
+	"Accept-Encoding":  true,
+	"Content-Encoding": true,
+	"Content-Length":   true,
 }
 
 type ResponseFilter func(*http.Response, error) (*http.Response, error)

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list