0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-16 16:50:12 +01:00

ircd::http: Add code 410 Gone.

This commit is contained in:
Jason Volk 2019-09-08 18:29:19 -07:00
parent 42d56a7bac
commit 002e7aae1a
2 changed files with 2 additions and 0 deletions

View file

@ -328,6 +328,7 @@ enum ircd::http::code
NOT_ACCEPTABLE = 406,
REQUEST_TIMEOUT = 408,
CONFLICT = 409,
GONE = 410,
LENGTH_REQUIRED = 411,
PAYLOAD_TOO_LARGE = 413,
REQUEST_URI_TOO_LONG = 414,

View file

@ -84,6 +84,7 @@ ircd::http::reason
{ code::NOT_ACCEPTABLE, "Not Acceptable" },
{ code::REQUEST_TIMEOUT, "Request Time-out" },
{ code::CONFLICT, "Conflict" },
{ code::GONE, "Gone" },
{ code::LENGTH_REQUIRED, "Length Required" },
{ code::PAYLOAD_TOO_LARGE, "Payload Too Large" },
{ code::REQUEST_URI_TOO_LONG, "Request URI Too Long" },