diff options
author | Matthew Holt <[email protected]> | 2022-09-29 12:38:36 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2022-09-29 12:38:36 -0600 |
commit | fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd (patch) | |
tree | 27643bb2fdfe679b4a71535ea0d1b6fa509b4338 /modules/caddyhttp/reverseproxy/reverseproxy.go | |
parent | 2a8c458ffedf886af9542541ea1b1de62370929d (diff) | |
download | caddy-fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd.tar.gz caddy-fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd.zip |
Fix comment
I apparently read the diff backwards in
2a8c458ffedf886af9542541ea1b1de62370929d
Diffstat (limited to 'modules/caddyhttp/reverseproxy/reverseproxy.go')
-rw-r--r-- | modules/caddyhttp/reverseproxy/reverseproxy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/reverseproxy.go b/modules/caddyhttp/reverseproxy/reverseproxy.go index f2ac942ca..55d3aa8ce 100644 --- a/modules/caddyhttp/reverseproxy/reverseproxy.go +++ b/modules/caddyhttp/reverseproxy/reverseproxy.go @@ -783,7 +783,7 @@ func (h *Handler) reverseProxy(rw http.ResponseWriter, req *http.Request, origRe rw.WriteHeader(code) // Clear headers coming from the backend - // (it's not automatically done by ResponseWriter.WriteHeader() for 1xx responses + // (it's not automatically done by ResponseWriter.WriteHeader() for 1xx responses) for k := range header { delete(h, k) } |