diff --git a/socket-proxy/pkg/handler.go b/socket-proxy/pkg/handler.go index adff9c14..237f99c7 100644 --- a/socket-proxy/pkg/handler.go +++ b/socket-proxy/pkg/handler.go @@ -34,7 +34,10 @@ func dockerSocketHandler(socket string) http.HandlerFunc { }, } - return rp.ServeHTTP + return func(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Transfer-Encoding", "chunked") + rp.ServeHTTP(w, r) + } } func endpointNotAllowed(w http.ResponseWriter, _ *http.Request) {