0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02:00

ircd::http: Add 413 PAYLOAD_TOO_LARGE.

This commit is contained in:
Jason Volk 2018-01-11 18:41:58 -08:00
parent f99461481c
commit 7aa1dedd86
2 changed files with 2 additions and 0 deletions

View file

@ -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,

View file

@ -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" },