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

Add warnings for technically incorrect status codes #39

Open
untitaker opened this issue Aug 20, 2016 · 0 comments
Open

Add warnings for technically incorrect status codes #39

untitaker opened this issue Aug 20, 2016 · 0 comments

Comments

@untitaker
Copy link
Member

Continuing #38


See https://tools.ietf.org/html/rfc7231#section-4.3.4

Money quote:

If the target resource does not have a current representation and the
PUT successfully creates one, then the origin server MUST inform the
user agent by sending a 201 (Created) response.  If the target
resource does have a current representation and that representation
is successfully modified in accordance with the state of the enclosed
representation, then the origin server MUST send either a 200 (OK) or
a 204 (No Content) response to indicate successful completion of the
request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant