cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Mütz <kmu...@web.de>
Subject RE: Strange response.setHeader behaviour in custom reader (Cocoon 2.1.8)
Date Fri, 24 Mar 2006 12:43:04 GMT
But I call the reader by an "normal" (external) request. Furthermore if I
call the HTTPCacheAction before the reader it works.

<map:actions>
	<map:action name="no-header-cache"
src="org.apache.cocoon.acting.HttpCacheAction"/>
</map:actions>
...
<map:pipeline type="caching">
	<map:match pattern="*.png">
	    <map:act type="no-header-cache"/>
	    <map:read type="binary-resource" mime-type="image/png"
src="{global:xmldb-uri}/bin/{1}.png"/>
	</map:match>
</map:pipeline>

> -----Original Message-----
> From: users-return-86090-kmuetz=web.de@cocoon.apache.org
> [mailto:users-return-86090-kmuetz=web.de@cocoon.apache.org]On Behalf Of
> Bertrand Delacretaz
> Sent: Friday, March 24, 2006 10:39 AM
> To: users@cocoon.apache.org
> Subject: Re: Strange response.setHeader behaviour in custom reader
> (Cocoon 2.1.8)
>
>
> Le 22 mars 06 à 13:58, Kai Mütz a écrit :
>
> > ....The first two "ifs" are working correctly. But in case of
> > disabled cache
> > (expires == -1) the "Expires" and "Cache-Control" headers are
> > either not set
> > or overwritten elsewhere..
>
> This might have to do with http://issues.apache.org/jira/browse/
> COCOON-1619
>
> -Bertrand


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message