-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
H1SpecExceptions add option to allow LF without proceeding CR (#1475)
Motivation: The HTTP/1.x spec allows for optional support to accept LF without proceeding CR as a valid separator in some scenarios [1]. Some older implementations rely upon this behavior and interoperability would be improved by allowing opt-in support. [1] https://tools.ietf.org/html/rfc7230#section-3.5 Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR. Modifications: - Update HttpObjectDecoder to support LF without CR Result: H1SpecExceptions allows for opt-in support for LF without proceeding CR.
- Loading branch information
1 parent
da4be45
commit cf51335
Showing
10 changed files
with
680 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.