2013-01-21 11:43:28 -05:00
|
|
|
-- 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.
|