From 877758bccbab6b73be1485cbcf8b93f24e40639e Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 19 Jan 2019 08:50:34 -0500 Subject: [PATCH] more --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index b603c5a..b34286a 100644 --- a/main.go +++ b/main.go @@ -54,6 +54,7 @@ func (h *httpProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { http.Error(w, "hijack disallowed", http.StatusInternalServerError) return } + w.Header().Del("Transfer-Encoding") w.WriteHeader(http.StatusOK) conn, _, err := hijacker.Hijack() if err != nil {