summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-09-29 12:38:36 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2022-09-29 12:38:36 -0600
commitfcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd (patch)
tree27643bb2fdfe679b4a71535ea0d1b6fa509b4338
parent2a8c458ffedf886af9542541ea1b1de62370929d (diff)
Fix comment
I apparently read the diff backwards in 2a8c458ffedf886af9542541ea1b1de62370929d
-rw-r--r--modules/caddyhttp/reverseproxy/reverseproxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/reverseproxy.go b/modules/caddyhttp/reverseproxy/reverseproxy.go
index f2ac942..55d3aa8 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)
}