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

Guide return code usage for (robust) create #685

Closed
tfrauenstein opened this issue Sep 7, 2021 · 1 comment · Fixed by #789
Closed

Guide return code usage for (robust) create #685

tfrauenstein opened this issue Sep 7, 2021 · 1 comment · Fixed by #789

Comments

@tfrauenstein
Copy link
Member

Improve guidance for return code usage for (robust) create.

  • 201 (success, created) vs. return code 200 (success, robust repetition) vs. 409 (error, no robust repetition)
  • 20x are idempotent
  • 302 (or other 3xx codes) should not be used

affected rules:

Related discussion see #655 (comment)

@tkrop
Copy link
Member

tkrop commented Nov 22, 2023

This was not only addressed by #737 and is again addressed by #789, but is also supported by the long existing rule SHOULD not use redirection codes [251].

@tkrop tkrop closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants