http icon indicating copy to clipboard operation
http copied to clipboard

status: add CONTENT_TOO_LARGE and UNPROCESSABLE_CONTENT aliases

Open mina86 opened this issue 2 years ago • 1 comments

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

mina86 avatar Feb 09 '23 22:02 mina86

Friendly ping.

mina86 avatar Apr 17 '25 17:04 mina86