[Zope] Q: Howto add Last-modified to the header?

Adam Karpierz karpierz@itl.pl
Mon, 15 May 2000 02:23:29 +0200


>The following line isnīt working
><dtml-call "RESPONSE.setHeader('Last-Modified', '<dtml-var bobobase_modification_time>')">
>
>How can I expand <dtml-var bobobase_modification_time> to a string,
>that I can pass to the setHeader method call??


<dtml-call "RESPONSE.setHeader('Last-Modified', bobobase_modification_time)">
or
<dtml-call "RESPONSE.setHeader('Last-Modified', _.str(bobobase_modification_time))">

Adam Karpierz
karpierz@itl.pl