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

Open
arno-di-loreto opened this Issue Apr 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@arno-di-loreto

arno-di-loreto commented Apr 23, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment