hyperium / http

Rust HTTP types
Apache License 2.0
1.12k stars 283 forks source link

status: add CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT aliases #588

Open mina86 opened 1 year ago

mina86 commented 1 year ago

RFC9110 changed phrases for status code 413 and 422:

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.