Skip to content

Commit eee95b5

Browse files
committed
Brad's review
1 parent f73d0ff commit eee95b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http2/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,8 +2672,8 @@ func (rws *responseWriterState) writeHeader(code int) {
26722672

26732673
checkWriteHeaderCode(code)
26742674

2675-
// Handle informational headers, except 100 (Continue) which is handled automatically
2676-
if code >= 100 && code < 200 {
2675+
// Handle informational headers
2676+
if code >= 100 && code <= 199 {
26772677
// Per RFC 8297 we must not clear the current header map
26782678
h := rws.handlerHeader
26792679

0 commit comments

Comments
 (0)