Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support HTTP method field in node 0.12
In my last pull request I had missed the method field. I had to make a hack for backward compatibility, so that HTTPParser knows wether to pass the string or the numerical index. I also diffed the logs of a small test app with and without this implementation, and found some other differences.
- Loading branch information
Showing
1 changed file
with
39 additions
and
6 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