Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 24815 invoked from network); 26 Dec 2010 15:12:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Dec 2010 15:12:10 -0000 Received: (qmail 11096 invoked by uid 500); 26 Dec 2010 15:12:10 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 10886 invoked by uid 500); 26 Dec 2010 15:12:07 -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 10878 invoked by uid 99); 26 Dec 2010 15:12:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Dec 2010 15:12:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Dec 2010 15:12:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBQFBkQi019712 for ; Sun, 26 Dec 2010 15:11:46 GMT Message-ID: <6487625.21201293376306287.JavaMail.jira@thor> Date: Sun, 26 Dec 2010 10:11:46 -0500 (EST) From: "Jon Moore (JIRA)" To: dev@hc.apache.org Subject: [jira] Resolved: (HTTPCLIENT-1035) cache should invalidate obsoleted entries mentioned in Content-Location In-Reply-To: <25966823.134001292413264716.JavaMail.jira@thor> 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-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jon Moore resolved HTTPCLIENT-1035. ----------------------------------- Resolution: Fixed > cache should invalidate obsoleted entries mentioned in Content-Location > ----------------------------------------------------------------------- > > Key: HTTPCLIENT-1035 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1035 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: Cache > Affects Versions: 4.1 Beta1 > Reporter: Jon Moore > Assignee: Jon Moore > Priority: Minor > Fix For: 4.1.0 > > Attachments: content-location-response-invalidation-test.patch > > > From http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.6: > If a cache receives a successful response whose Content-Location field matches that of an existing cache entry for the same Request-URI, whose entity-tag differs from that of the existing entry, and whose Date is more recent than that of the existing entry, the existing entry SHOULD NOT be returned in response to future requests and SHOULD be deleted from the cache. > Current caching module doesn't do this (yet). As this is a recommendation (SHOULD) and not a requirement (MUST) I am marking this as an improvement rather than a bug. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org