qiita icon indicating copy to clipboard operation
qiita copied to clipboard

return values from api_proxy should lead to appropriate HTTP error codes

Open ElDeveloper opened this issue 7 years ago • 0 comments
trafficstars

The qiita_pet/handlers/api_proxy module returns data in the form of {'status': '[error | success]', 'message': '...', 'data': ''}. Regardless of the value of the status key, the return code appears to be 200 for most requests. For example see qiita_pet/handlers/api_proxy/base.py.

ElDeveloper avatar Aug 30 '18 00:08 ElDeveloper