Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 13, 10:30 UTC
Fix comment
I apparently read the diff backwards in 2a8c458ffedf886af9542541ea1b1de62370929d
Matthew Holt committed
Sep 29, 2022 at 12:38 UTC
fcdbc69fabd14c6d0b1fe5c5e07490bf27d7f8bd
1 file changed
+1
-1
modules/caddyhttp/reverseproxy/reverseproxy.go
+1
-1
@@ -783,7 +783,7 @@ func (h *Handler) reverseProxy(rw http.ResponseWriter, req *http.Request, origRe
783
rw.WriteHeader(code)
784
785
// Clear headers coming from the backend
786
- // (it's not automatically done by ResponseWriter.WriteHeader() for 1xx responses
786
+ // (it's not automatically done by ResponseWriter.WriteHeader() for 1xx responses)
787
for k := range header {
788
delete(h, k)
789
}