mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd::http: Add 504 Gateway Timeout status.
This commit is contained in:
parent
0808058ccd
commit
0d489d6ffb
2 changed files with 2 additions and 0 deletions
|
@ -304,6 +304,7 @@ enum ircd::http::code
|
|||
NOT_IMPLEMENTED = 501,
|
||||
BAD_GATEWAY = 502,
|
||||
SERVICE_UNAVAILABLE = 503,
|
||||
GATEWAY_TIMEOUT = 504,
|
||||
HTTP_VERSION_NOT_SUPPORTED = 505,
|
||||
INSUFFICIENT_STORAGE = 507,
|
||||
};
|
||||
|
|
|
@ -97,6 +97,7 @@ ircd::http::reason
|
|||
{ code::NOT_IMPLEMENTED, "Not Implemented" },
|
||||
{ code::BAD_GATEWAY, "Bad Gateway" },
|
||||
{ code::SERVICE_UNAVAILABLE, "Service Unavailable" },
|
||||
{ code::GATEWAY_TIMEOUT, "Gateway Timeout" },
|
||||
{ code::HTTP_VERSION_NOT_SUPPORTED, "HTTP Version Not Supported" },
|
||||
{ code::INSUFFICIENT_STORAGE, "Insufficient Storage" },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue