5 lines
322 B
Plaintext
5 lines
322 B
Plaintext
-- Clean up error responses. Specifically I'd like to be able to add
|
|
json-formatted data to OverflowError and DB parsing errors. It
|
|
seems like subclassing cherrypy.HTTPError and overriding
|
|
set_response is the best thing to do -- it would let me get rid
|
|
of the _be_ie_unfriendly and other hacks in the server. |