[Zope] HTTP headers

Dieter Maurer dieter@handshake.de
Wed, 31 Jan 2001 21:19:30 +0100 (CET)


Giulia Zanchi writes:
 > -------Phoenix-Boundary-07081998-
 > Content-type: text/plain; charset=ISO-8859-1
 > Content-transfer-encoding: Quoted-printable
Can you please convince you mail reader not to send MIME messages
into this group.

 > I am trying to port some web-pages from php to Zope.
 > I am looking for the Zope equivalent of the php function Header(), which 
 > allows me to set a HTTP header: for example Header("Location: 
 > new_page.html")
 > 
 > Can any of you please suggest what function to use=3F
Look in Zope's online documentation -> API Reference -> RESPONSE.

You will find there the method "setHeader". It does
what you want. You will find many other usefull methods, too.


Dieter