Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Return 4XX or 5XX status code on failure #8

Closed
mestebangutierrez opened this issue Jan 30, 2016 · 2 comments
Closed

Return 4XX or 5XX status code on failure #8

mestebangutierrez opened this issue Jan 30, 2016 · 2 comments
Assignees
Labels

Comments

@mestebangutierrez
Copy link
Member

Up to now, whenever the service fails it returns a response with status code 200 and "false" as body.

When the service fails it should return a proper 4XX or 5XX status code depending on whether the failure is due to an incorrect client interaction or a problem within the service implementation.

@alejandrofcarrera
Copy link
Contributor

This issue is fixed due to compatibility with Gitlab response.
Standard says something and people does other :)

@mestebangutierrez
Copy link
Member Author

Ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants