aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/caddyhttp/encode/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go
index f2fa52b73..e5d744b17 100644
--- a/modules/caddyhttp/encode/encode.go
+++ b/modules/caddyhttp/encode/encode.go
@@ -249,7 +249,7 @@ func (rw *responseWriter) WriteHeader(status int) {
// write status immediately if status is 2xx and the request is CONNECT
// since it means the response is successful.
- // see: https://github.com/caddyserver/caddy/issues/6733#issuecomment-2525058845
+ // see: https://github.com/caddyserver/caddy/issues/6733#issuecomment-2525058845
if rw.isConnect && 200 <= status && status <= 299 {
rw.ResponseWriter.WriteHeader(status)
rw.wroteHeader = true