mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 23:10:54 +01:00
ircd::http: Add 413 PAYLOAD_TOO_LARGE.
This commit is contained in:
parent
f99461481c
commit
7aa1dedd86
2 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@ enum ircd::http::code
|
|||
METHOD_NOT_ALLOWED = 405,
|
||||
REQUEST_TIMEOUT = 408,
|
||||
CONFLICT = 409,
|
||||
PAYLOAD_TOO_LARGE = 413,
|
||||
REQUEST_URI_TOO_LONG = 414,
|
||||
EXPECTATION_FAILED = 417,
|
||||
IM_A_TEAPOT = 418,
|
||||
|
|
|
@ -110,6 +110,7 @@ const decltype(ircd::http::reason) ircd::http::reason
|
|||
{ code::METHOD_NOT_ALLOWED, "Method Not Allowed" },
|
||||
{ code::REQUEST_TIMEOUT, "Request Time-out" },
|
||||
{ code::CONFLICT, "Conflict" },
|
||||
{ code::PAYLOAD_TOO_LARGE, "Payload Too Large" },
|
||||
{ code::REQUEST_URI_TOO_LONG, "Request URI Too Long" },
|
||||
{ code::EXPECTATION_FAILED, "Expectation Failed" },
|
||||
{ code::IM_A_TEAPOT, "Negative, I Am A Meat Popsicle" },
|
||||
|
|
Loading…
Reference in a new issue