[ZPT] response.setHeader() best practice

Dieter Maurer dieter@handshake.de
Tue, 2 Apr 2002 22:18:24 +0200


seb bacon writes:
 > Could anyone point me to a nicer way of doing:
 > 
 >   <span tal:content="nocall:python:response.setHeader('blah')"></span>

     tal:define="dummy python:response.setHeader(...);"

 > ...using 'content' feels like an abuse of the attribute in this context.
You do not need the "nocall" with "python"...


Dieter