diff options
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/responsewriter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/responsewriter.go b/modules/caddyhttp/responsewriter.go index 9820b41..4e2c8f0 100644 --- a/modules/caddyhttp/responsewriter.go +++ b/modules/caddyhttp/responsewriter.go @@ -185,7 +185,7 @@ func (rr *responseRecorder) WriteHeader(statusCode int) { // if informational or not buffered, immediately write header if rr.stream || (100 <= statusCode && statusCode <= 199) { - rr.ResponseWriterWrapper.WriteHeader(rr.statusCode) + rr.ResponseWriterWrapper.WriteHeader(statusCode) } } |