Skip to content

Commit

Permalink
Brad's review
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed May 13, 2022
1 parent f73d0ff commit eee95b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http2/server.go
Expand Up @@ -2672,8 +2672,8 @@ func (rws *responseWriterState) writeHeader(code int) {

checkWriteHeaderCode(code)

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

Expand Down

0 comments on commit eee95b5

Please sign in to comment.