diff --git a/plugins/traefik/main.go b/plugins/traefik/main.go index 2e2e51d..2cb6375 100644 --- a/plugins/traefik/main.go +++ b/plugins/traefik/main.go @@ -46,6 +46,5 @@ func (sm *SablierMiddleware) ServeHTTP(rw http.ResponseWriter, req *http.Request func forward(resp *http.Response, rw http.ResponseWriter) { rw.Header().Set("Content-Type", resp.Header.Get("Content-Type")) - rw.Header().Set("Content-Length", resp.Header.Get("Content-Length")) io.Copy(rw, resp.Body) }