Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
http: remove useless rule
  • Loading branch information
ShogunPanda committed May 11, 2022
commit 75edd9dbf4fce893d879bd3f76f927b9434b2479
1 change: 0 additions & 1 deletion src/llhttp/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ export class HTTP {
n('header_value_te_chunked_last')
.match(' ', n('header_value_te_chunked_last'))
// Make sure a chunked word repeated more than once does not enable chunked encoding
.match('chunked', n('header_value_te_token'))
.peek([ '\r', '\n' ], this.update('header_state',
HEADER_STATE.TRANSFER_ENCODING_CHUNKED,
'header_value_otherwise'))
Expand Down