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

Reframe: specify HTTP response status codes #311

Merged
merged 1 commit into from
Aug 23, 2022
Merged

Conversation

guseggert
Copy link
Contributor

No description provided.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Contributor

@willscott willscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we specify semantics of 4xx vs 5xx responses?
e.g. 4xx on client errors (malformed request / etc) and 5xx on server errors

@guseggert
Copy link
Contributor Author

How about I say something like "Non-200 status codes SHOULD follow best practices, e.g. 4xx on client errors, 5xx on server errors, etc.".

@guseggert guseggert marked this pull request as ready for review August 23, 2022 18:50
@guseggert guseggert requested a review from lidel as a code owner August 23, 2022 18:50
@willscott
Copy link
Contributor

yeah, or it's fine as is. i think the implicit conventions of HTTP basically work for us here.

@guseggert
Copy link
Contributor Author

guseggert commented Aug 23, 2022

(Side note: @lidel is out this week so I am merging this without approval from him, despite his being a code owner.)

@guseggert guseggert merged commit 0b123fa into main Aug 23, 2022
@guseggert guseggert deleted the guseggert-patch-1 branch August 23, 2022 18:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants