summaryrefslogtreecommitdiffhomepage
path: root/caddyhttp/gzip/gzip.go
diff options
context:
space:
mode:
Diffstat (limited to 'caddyhttp/gzip/gzip.go')
-rw-r--r--caddyhttp/gzip/gzip.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/caddyhttp/gzip/gzip.go b/caddyhttp/gzip/gzip.go
index ddaac4fb3..29fccac7f 100644
--- a/caddyhttp/gzip/gzip.go
+++ b/caddyhttp/gzip/gzip.go
@@ -53,9 +53,6 @@ outer:
}
}
- // Delete this header so gzipping is not repeated later in the chain
- r.Header.Del("Accept-Encoding")
-
// gzipWriter modifies underlying writer at init,
// use a discard writer instead to leave ResponseWriter in
// original form.