http
http copied to clipboard
status: add CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT aliases
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).
Fixes: https://github.com/hyperium/http/issues/664
Friendly ping.