hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Christiansen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1249) DefaultConnectionReuseStrategy -- need to honor keep alives when receiving a 404 on a HEAD request
Date Fri, 12 Oct 2012 20:25:03 GMT
Jon Christiansen created HTTPCLIENT-1249:
--------------------------------------------

             Summary: DefaultConnectionReuseStrategy -- need to honor keep alives when receiving
a 404 on a HEAD request
                 Key: HTTPCLIENT-1249
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1249
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2.1
            Reporter: Jon Christiansen


Code will not allow connection reuse if Content-Length header is not present.

If the request was a HEAD request and the response is a 404, this header is not present, but
HttpClient should still be able to re-use the connection.

It should be very easy to add special case code when dealing with responses to HEAD requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message