zopefoundation / zExceptions

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

Don't override the header if set. #12

Closed mamico closed 2 years ago

mamico commented 2 years ago

Although the raised exception has a custom content type (e.g. a json response) zException adds another with "text/html"

ale-rt commented 2 years ago

I would suggest you to wait for the approval of some other guys more involved in Zope.

CC @icemac

icemac commented 2 years ago

As first step I am getting CI working in #13, afterwards I'll have a look at the PR.

icemac commented 2 years ago

@mamico Could you please rebase your PR to the current master, so the CI tests run?

icemac commented 2 years ago

Released as https://pypi.org/project/zExceptions/4.2/