A: Howto add Last-modified to the header?
15 May
2000
15 May
'00
6:44 p.m.
Hi, I wanted to add a Last-modified line to the header. Itamar Shtull-Trauring <itamar@maxnm.com> writes:
The following line isnŽt working <dtml-call "RESPONSE.setHeader('Last-Modified', '<dtml-var bobobase_modification_time>')">
Try this:
<dtml-call "RESPONSE.setHeader('Last-Modified', bobobase_modification_time().toZone('GMT').rfc822())">
Yes, that's the right solution. It even works with a german locale! Thanks Christian -- Dipl.-Ing. Christian Leutloff, Aachen, Germany christian@leutloff.de http://www.oche.de/~leutloff/ leutloff@debian.org Debian GNU/Linux - http://www.de.debian.org/
9458
Age (days ago)
9458
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Leutloff