Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 34920 invoked from network); 12 Dec 2005 10:18:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Dec 2005 10:18:42 -0000 Received: (qmail 97358 invoked by uid 500); 12 Dec 2005 10:18:36 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 97313 invoked by uid 500); 12 Dec 2005 10:18:35 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 97302 invoked by uid 99); 12 Dec 2005 10:18:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 02:18:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hakimm@gmail.com designates 64.233.162.194 as permitted sender) Received: from [64.233.162.194] (HELO zproxy.gmail.com) (64.233.162.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 02:18:34 -0800 Received: by zproxy.gmail.com with SMTP id 9so1336935nzo for ; Mon, 12 Dec 2005 02:18:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nQMtAfY3gj5yPUKextBPqWIESG1+31x4aFHK9qpkAZV9sVIvdzldOxkbalc0FpoKpq7yFDHErYEKv9wtGoDewDsD075SztoQwue0HI1Mj47pr1uzx/wx7mUnuyFaxFE6nbntAOJBcb3lhyKadr6UEk8WntqELSU+yb186dGMEto= Received: by 10.65.105.12 with SMTP id h12mr5513961qbm; Mon, 12 Dec 2005 02:18:14 -0800 (PST) Received: by 10.65.52.4 with HTTP; Mon, 12 Dec 2005 02:18:14 -0800 (PST) Message-ID: <501089280512120218s6b576d4et@mail.gmail.com> Date: Mon, 12 Dec 2005 11:18:14 +0100 From: Laurent Perez To: users@cocoon.apache.org Subject: cocoon.response.setHeader broken ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello I'm trying to set response headers within my flowscript, but I have a strange behaviour with the following line : cocoon.response.setHeader("Expires","access plus 3 minutes"); When using ethereal, I can see the Expires header is just set to the plain text "access plus 3 minutes", and not to my request timestamp + 3 minutes (I was expecting something like "Expires: Mon, 12 Dec 2005 xx:xx:xx GMT"). cocoon.response.setHeader("Expires","180"); has the same effect, it just shows "180" as plain text. Is this the correct method to set an Expires header from the flow ? I'm using 2.1.5.1. Thanks Laurent -- http://in-pocket.blogspot.com - Mobile world, technology and more --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org