2 Sep
2002
2 Sep
'02
6:44 a.m.
Hi, does anybody know how to set HTTP headers with TAL (if possible). I want to do HTTP caching with Apache as explained here: http://www.zope.org/Members/rbeer/caching . These the lines in DTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <dtml-call "RESPONSE.setHeader('Expires', _.DateTime(_.DateTime().timeTime() + 3600).toZone('GMT').rfc822())"> <dtml-call "RESPONSE.setHeader('Last-Modified', bobobase_modification_time().toZone('GMT').rfc822())"> <HTML> ... Thank you for your help. Mitja