[Zope3-Users] Q: Setting response header from ZPT Page
Fred Drake
fdrake at gmail.com
Sun Jan 23 10:22:40 EST 2005
On Sun, 23 Jan 2005 14:24:07 +0100, Paul Everitt <paul at zope-europe.org> wrote:
> After a lot of grepping, googling, and browsing the online API docs,
> the closest I got was zope.publisher.browser.BrowserRequest. This has
> a "headers" mapping that is read-only, and a getHeader method. I
> couldn't find setHeader though.
Use request.response.setHeader().
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
Zope Corporation
More information about the Zope3-users
mailing list