Skip to content

Adds missing RFC HTTP status codes#1678

Merged
davidism merged 1 commit into
pallets:masterfrom
adeharo9:add-missing-rfc-codes
Jan 5, 2020
Merged

Adds missing RFC HTTP status codes#1678
davidism merged 1 commit into
pallets:masterfrom
adeharo9:add-missing-rfc-codes

Conversation

@adeharo9

@adeharo9 adeharo9 commented Dec 3, 2019

Copy link
Copy Markdown
Contributor

I haven't created an issue on the repo since this is actually not an issue, but more of a completion work.

I have added RFC HTTP status codes 103, 208, 306, 425, 506, 508 and 511 with the respective comments to the corresponding RFC documents for completion (except the 306 status code, which is unused, but I have added it for compatibility purposes).

Hope I'm contributing the right way to the project!

@davidism

davidism commented Jan 3, 2020

Copy link
Copy Markdown
Member

Why is this change needed? You'll need to include a test demonstrating the issue you had that this fixes. See #1389 for general thoughts on status codes.

@pgjones

pgjones commented Jan 4, 2020

Copy link
Copy Markdown
Member

Some of these (208, 506, 508 and 511) are present in the stdlib which I think would be justification to include in Werkzeug.

@davidism

davidism commented Jan 5, 2020

Copy link
Copy Markdown
Member

After thinking about this, I guess it's fine to merge these, in part because you documented where they come from, although in the future I'd like more justification for needing them.

@davidism davidism merged commit e069cdb into pallets:master Jan 5, 2020
@davidism davidism added this to the 1.0.0 milestone Jan 5, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants