Skip to content

return values from api_proxy should lead to appropriate HTTP error codes #2655

Open
@ElDeveloper

Description

@ElDeveloper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions