Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-318

DefaultConnectionReuseStrategy -- need to honor keep alives when receiving a 404 on a HEAD request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.2
    • 5.0-alpha1
    • HttpCore
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jchristiansen Jon Christiansen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: