From fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 29 Sep 2022 12:38:36 -0600 Subject: [PATCH] Fix comment I apparently read the diff backwards in 2a8c458ffedf886af9542541ea1b1de62370929d --- modules/caddyhttp/reverseproxy/reverseproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/reverseproxy/reverseproxy.go b/modules/caddyhttp/reverseproxy/reverseproxy.go index f2ac942c..55d3aa8c 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) }