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 59118EB1C for ; Tue, 8 Jan 2013 13:34:13 +0000 (UTC) Received: (qmail 96956 invoked by uid 500); 8 Jan 2013 13:34:13 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 96922 invoked by uid 500); 8 Jan 2013 13:34:13 -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 96913 invoked by uid 99); 8 Jan 2013 13:34:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 13:34:13 +0000 Date: Tue, 8 Jan 2013 13:34:13 +0000 (UTC) From: "Francois-Xavier Bonnet (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1290) 304 cached response never reused with If-modified-since conditional requests 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-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546879#comment-13546879 ] Francois-Xavier Bonnet commented on HTTPCLIENT-1290: ---------------------------------------------------- Ok for me. Thanks Oleg. > 304 cached response never reused with If-modified-since conditional requests > ---------------------------------------------------------------------------- > > Key: HTTPCLIENT-1290 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1290 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: Cache > Reporter: Francois-Xavier Bonnet > Fix For: 4.2.3 > > Attachments: HTTPCLIENT-1290-patch.txt, HTTPCLIENT-1290.txt > > > Steps to reproduce the problem: > - cache is empty > - send a conditional If-modified-since request > - backend server responds with a 304 Not modified (the response does not contain the "Last-modified" header, this conforms to rfc 2616 chapter 10.3.5) > - the response is stored in the cache > - send another conditional If-modified-since request > - as the cache entry does not contain a Last-modified header to match with the If-modified-since request header, the cache considers the entry cannot be used and sends a request again to the backend server -- 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