forked from macournoyer/thin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This spec failed: Thin::Request parser should not fuck up on stupid fucked IE6 headers with: should validate with Rack Lint: env[HTTP_VERSION] does not equal env[SERVER_PROTOCOL] where: "HTTP_VERSION"=>"HTTP/1.0", "SERVER_PROTOCOL"=>"HTTP/1.1", Indeed: > Rack::HTTP_VERSION has been removed and the HTTP_VERSION env setting is no longer set in the CGI and Webrick handlers See: - rack/rack#970 - rack/rack#969 - rack/rack#1691 The version is necessary to negotiate `persistent?`, so here we punt on a further refactoring to find a good way to get the request HTTP version from the first line, instead shoving it in a Thin-specific `thin.request_http_header`.
- Loading branch information
Showing
8 changed files
with
22 additions
and
23 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
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