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 543136F39 for ; Thu, 9 Jun 2011 15:17:22 +0000 (UTC) Received: (qmail 65307 invoked by uid 500); 9 Jun 2011 15:17:22 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 65275 invoked by uid 500); 9 Jun 2011 15:17:22 -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 65266 invoked by uid 99); 9 Jun 2011 15:17:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 15:17:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 15:17:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1852910B9AE for ; Thu, 9 Jun 2011 15:17:01 +0000 (UTC) Date: Thu, 9 Jun 2011 15:17:01 +0000 (UTC) From: "Jon Moore (JIRA)" To: dev@hc.apache.org Message-ID: <1455905684.7198.1307632621096.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1647694318.475.1307456998827.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HTTPCLIENT-1100) Missing Content-Length header makes cached entry invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jon Moore resolved HTTPCLIENT-1100. ----------------------------------- Resolution: Fixed > Missing Content-Length header makes cached entry invalid > -------------------------------------------------------- > > Key: HTTPCLIENT-1100 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1100 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: Cache > Affects Versions: 4.1.1, 4.1.2, 4.2 Alpha1 > Reporter: Bart Robeyns > Assignee: Jon Moore > Labels: cache, contentlength > Fix For: 4.1.2, 4.2 Final > > Attachments: MissingContentLength.patch, MissingContentLength_with_licence.patch > > > A cached entry whose original response didn't carry a Content-Length header, should not be rejected for considered invalid because the length of its cached content is different from the non-existing Content-Length header value. The attached patch only verifies the lengths if the header was originally present. -- This message is automatically generated by JIRA. 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