hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William R. Speirs (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCORE-281) Set HttpResponse Version to HttpRequest Version Before Calling Handle
Date Thu, 17 Nov 2011 00:15:52 GMT
Set HttpResponse Version to HttpRequest Version Before Calling Handle

                 Key: HTTPCORE-281
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-281
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore, HttpCore NIO
            Reporter: William R. Speirs
            Priority: Minor

If a request is made with HTTP/1.0 and a response is provided with HTTP/1.1 the server will
attempt to keep a connection open with the client. Some clients (ab for example) will simply
hang waiting for the server to close the connection.

I propose that the HttpResponse provided to the handle method be set to the version of the
request. This will still allow the flexibility of the programmer to change the HTTP version
number if he/she so chooses, but will provide functionality closer to what the standard describes
in Sec

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message