Tornado-JSON
Tornado-JSON copied to clipboard
shouldn't error pages be content-type json?
hi guys
shouldn't e.g. a 404 result in a JSON response, for consistency? using Postman and GETing a unknown path at present yields what looks like tornado's standard error response, which is content-type HTML.
Agreed, this would be nice.
Agreed. (Linking for my own reference: https://groups.google.com/forum/#!topic/python-tornado/upI5hrejdz4)