-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of HEAD responses (#242)
* Record HTTP/1 method in req * Support HEAD, 204, 304 quelling for HTTP/1 responses * Refactor h2 send_file logic Also fix file always being closed after h2 sendfile file call, as in mtrudel/thousand_island#78 * Record HTTP/2 method in req * Add content-length header to HTTP/2 sendfile responses * Support HEAD, 204, 304 quelling for HTTP/2 responses
- Loading branch information
Showing
8 changed files
with
345 additions
and
64 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.