Skip to content

Reframe: specify HTTP response status codes#311

Merged
guseggert merged 1 commit intomainfrom
guseggert-patch-1
Aug 23, 2022
Merged

Reframe: specify HTTP response status codes#311
guseggert merged 1 commit intomainfrom
guseggert-patch-1

Conversation

@guseggert
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@guseggert
Copy link
Copy Markdown
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.

2 participants