Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BEDFD943 for ; Fri, 12 Oct 2012 20:25:03 +0000 (UTC) Received: (qmail 66917 invoked by uid 500); 12 Oct 2012 20:25:03 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 66846 invoked by uid 500); 12 Oct 2012 20:25:03 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 66689 invoked by uid 99); 12 Oct 2012 20:25:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 20:25:03 +0000 Date: Fri, 12 Oct 2012 20:25:03 +0000 (UTC) From: "Jon Christiansen (JIRA)" To: dev@hc.apache.org Message-ID: <1458557887.39490.1350073503123.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HTTPCLIENT-1249) DefaultConnectionReuseStrategy -- need to honor keep alives when receiving a 404 on a HEAD request MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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