[Zope] set Expires header in ZPT
Dieter Maurer
dieter at handshake.de
Sun Apr 4 03:07:20 EDT 2004
Sakesun Roykiattisak wrote at 2004-4-3 11:33 +0700:
>I've tried this in ZPT:
>
><span tal:define="dummy python:request.response.setHeader('Expires', 0);
> dummy python:request.response.setHeader('test', 'test')">
> <h1 tal:content="python:request.response.getHeader('test')"/>
> <h1 tal:content="python:request.response.getHeader('a')"/>
></span>
>
>
>It happens that only the "test" header is displayed, the "Expires"
>header is not.
>Does Zope do somethine special with "Expires" header ? How can I set it
>then ? Through property ?
In principle, "Expires" is treated as any other header.
There may be interactions with an HTTP accelerated Cache Manager.
Though, I doubt it.
--
Dieter
More information about the Zope
mailing list