Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use writeHead instead of setHeader/getHeader. (#813)
* Use writeHead instead of setHeader/getHeader. * Added 'reply.getHeader' interface * Implemented fast path for getHeader * Removed public getHeader * Removed 'content-length: 0' in all occurrences * Added comment about why we cannot use writeHead for streams * Support the fast path in Node 10+ * Ignored clinic stuff * Set 'content-length: 0' according to spec
- Loading branch information
Showing
7 changed files
with
141 additions
and
38 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
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.