zopefoundation / zExceptions

zExceptions contains common exceptions used in Zope.
Other
0 stars 3 forks source link

add setHeader method to HTTPException #2

Closed davisagli closed 7 years ago

davisagli commented 7 years ago

@hannosch This adds a way to add HTTP headers to exception instances, which will be used by the pull request I'm going to open for Zope to change how Unauthorized and Redirect are handled by the WSGIPublisher