mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::http: Add 428 Precondition Required.
This commit is contained in:
parent
59124a0fe1
commit
57f28374c9
2 changed files with 2 additions and 0 deletions
|
@ -327,6 +327,7 @@ enum ircd::http::code
|
|||
EXPECTATION_FAILED = 417,
|
||||
IM_A_TEAPOT = 418,
|
||||
UNPROCESSABLE_ENTITY = 422,
|
||||
PRECONDITION_REQUIRED = 428,
|
||||
TOO_MANY_REQUESTS = 429,
|
||||
REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ ircd::http::reason
|
|||
{ code::EXPECTATION_FAILED, "Expectation Failed" },
|
||||
{ code::IM_A_TEAPOT, "Negative, I Am A Meat Popsicle" },
|
||||
{ code::UNPROCESSABLE_ENTITY, "Unprocessable Entity" },
|
||||
{ code::PRECONDITION_REQUIRED, "Precondition Required" },
|
||||
{ code::TOO_MANY_REQUESTS, "Too Many Requests" },
|
||||
{ code::REQUEST_HEADER_FIELDS_TOO_LARGE, "Request Header Fields Too Large" },
|
||||
|
||||
|
|
Loading…
Reference in a new issue