We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b464399 commit 00beec2Copy full SHA for 00beec2
modules/caddyhttp/responsewriter.go
@@ -185,7 +185,7 @@ func (rr *responseRecorder) WriteHeader(statusCode int) {
185
186
// if informational or not buffered, immediately write header
187
if rr.stream || (100 <= statusCode && statusCode <= 199) {
188
- rr.ResponseWriterWrapper.WriteHeader(rr.statusCode)
+ rr.ResponseWriterWrapper.WriteHeader(statusCode)
189
}
190
191
0 commit comments