http: remove CRLF variable

PR-URL: https://github.com/nodejs/node/pull/40101
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
shfshanyue
2021-09-14 11:25:35 +08:00
committed by Michael Dawson
parent 58b7d47ad2
commit e9fc67815e
3 changed files with 25 additions and 26 deletions

View File

@@ -268,7 +268,7 @@ module.exports = {
_checkIsHttpToken: checkIsHttpToken,
chunkExpression: /(?:^|\W)chunked(?:$|\W)/i,
continueExpression: /(?:^|\W)100-continue(?:$|\W)/i,
CRLF: '\r\n',
CRLF: '\r\n', // TODO: Deprecate this.
freeParser,
methods,
parsers,