Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contradiction concerning PATCH HTTP status code #135

Closed
arno-di-loreto opened this issue Apr 23, 2017 · 2 comments
Closed

Contradiction concerning PATCH HTTP status code #135

arno-di-loreto opened this issue Apr 23, 2017 · 2 comments

Comments

@arno-di-loreto
Copy link

It seems there's a contradiction in the guidelines concerning HTTP status codes return by PATCH:

In PATCH, mutating entities

200 OK, if the modification succeeded

In Return codes and errors

POST and PATCH should never result in a 200 (generally 201, occasionally 202).

@m4yankpomelo
Copy link

It looks like they don't care :(

@jamietanna
Copy link
Contributor

Thanks for raising, we've removed the guidelines (in #190) as they were woefully out-of-date, but appreciate the feedback 💜

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

No branches or pull requests

3 participants