[Zope] setHeader, but no getHeader

Lennart Regebro lennart@regebro.nu
Fri, 31 Jan 2003 18:12:56 +0100


From: "Mark McEahern" <mark@mceahern.com>
> Why does lib/python/ZPublisher/HTTPResponse.py have a setHeader(), but not
a
> getHeader()?

Because you typically know what you have set the header to, so a getHeader
isn't really that useful. It would be interesting to know what case you have
where it would be.