Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow parsing of unknown HTTP verbs.
If a HTTP verb (such as COPY) is encountered in an request, the current code will try to parse subsequent headers as a HTTP status line (mostly encountering garbage, but sometimes actually succeeding!). We should instead note that a valid -- but unknown -- verb was encountered and parse the remaining headers as headers. This is useful because external handlers might actually understand verbs (again, COPY) that the built-in handlers do not.
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 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