Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 68115 invoked from network); 25 Oct 2005 13:53:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Oct 2005 13:53:19 -0000 Received: (qmail 49055 invoked by uid 500); 25 Oct 2005 13:52:49 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 48259 invoked by uid 500); 25 Oct 2005 13:52:45 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 47797 invoked by uid 99); 25 Oct 2005 13:52:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 06:52:41 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A5EB5234 for ; Tue, 25 Oct 2005 15:52:03 +0200 (CEST) Message-ID: <521246470.1130248323677.JavaMail.jira@ajax.apache.org> Date: Tue, 25 Oct 2005 15:52:03 +0200 (CEST) From: "Helma van der Linden (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Reopened: (COCOON-620) [PATCH] Cached resources don't have Expires-Header Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-620?page=all ] Helma van der Linden reopened COCOON-620: ----------------------------------------- reopened just to set the resolution to fixed > [PATCH] Cached resources don't have Expires-Header > -------------------------------------------------- > > Key: COCOON-620 > URL: http://issues.apache.org/jira/browse/COCOON-620 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.8-dev (Current SVN) > Environment: Operating System: Linux > Platform: PC > Reporter: Philipp Matthias Hahn > Assignee: Cocoon Developers Team > Attachments: expires.patch > > My sitemap.xmap contains the following lines: > > > > > > If I request a resource matching that, I do get the following after a fresh restart: > $ HEAD http://walker:8180/image/ci/l-location-bg.png > 200 OK > Connection: close > Date: Wed, 12 Mar 2003 16:09:31 GMT > Accept-Ranges: none > Server: Apache Coyote/1.0 > Content-Length: 176 > Content-Type: image/png > Expires: Thu, 13 Mar 2003 16:09:31 GMT > Client-Date: Wed, 12 Mar 2003 16:09:34 GMT > Client-Response-Num: 1 > X-Cocoon-Version: 2.0.5-dev > If I repeat the same request, I get the same answer _without_ the "Expires" and > "Accept-Ranged" headers, but with a "Last-Modified" header: > $ HEAD http://walker:8180/image/ci/l-location-bg.png > 200 OK > Connection: close > Date: Wed, 12 Mar 2003 16:09:35 GMT > Server: Apache Coyote/1.0 > Content-Length: 176 > Content-Type: image/png > Last-Modified: Wed, 08 Jan 2003 12:24:06 GMT > Client-Date: Wed, 12 Mar 2003 16:09:38 GMT > Client-Response-Num: 1 > X-Cocoon-Version: 2.0.5-dev -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira