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

status: add CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT aliases #588

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mina86
Copy link

@mina86 mina86 commented Feb 9, 2023

RFC9110 changed phrases for status code 413 and 422:

  • 413 Payload Too Large → Content Too Large
  • 422 Unprocessable Entity → Unprocessable Content

Introduce CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT StatusCode const
items to reflect those changes and update phrases used in those status
code.

While at it, update phrase for status 203 to ‘Non-Authoritative
Information’ (with a dash) and update all links to go to RFC 9110.

src/status.rs Outdated Show resolved Hide resolved
@mina86 mina86 force-pushed the a branch 3 times, most recently from 9269abc to a868ade Compare February 10, 2023 16:27
RFC9110 changed phrases for status code 413 and 422:

* 413 Payload Too Large → Content Too Large
* 422 Unprocessable Entity → Unprocessable Content

Introduce CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT StatusCode const
items to reflect those changes and update phrases used in those status
code.

While at it, update phrase for status 203 to ‘Non-Authoritative
Information’ (with a dash) and update all links to go to RFC 9110.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants