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 8.1.2.1

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to