Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
rexagod committed May 2, 2020
1 parent 1fce18c commit 9870173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/http2/compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class Http2ServerRequest extends Readable {
didRead: false,
};
// headers in HTTP/1 are not initialized using Object.create(null)
// which, although preferable, simply breaks too much code.
// which, although preferable, would simply break too much code.
// Ergo, header initialization using Object.create(null) in HTTP/2
// is intentional.
this[kHeaders] = headers;
Expand Down

0 comments on commit 9870173

Please sign in to comment.