mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::http: Add code 102 Processing (RFC 2518), 103 Early Hints (RFC 8297).
This commit is contained in:
parent
878b5c91ec
commit
164b881442
2 changed files with 4 additions and 0 deletions
|
@ -305,6 +305,8 @@ enum ircd::http::code
|
|||
{
|
||||
CONTINUE = 100,
|
||||
SWITCHING_PROTOCOLS = 101,
|
||||
PROCESSING = 102,
|
||||
EARLY_HINTS = 103,
|
||||
|
||||
OK = 200,
|
||||
CREATED = 201,
|
||||
|
|
|
@ -58,6 +58,8 @@ ircd::http::reason
|
|||
{
|
||||
{ code::CONTINUE, "Continue" },
|
||||
{ code::SWITCHING_PROTOCOLS, "Switching Protocols" },
|
||||
{ code::PROCESSING, "Processing" },
|
||||
{ code::EARLY_HINTS, "Early Hints" },
|
||||
|
||||
{ code::OK, "OK" },
|
||||
{ code::CREATED, "Created" },
|
||||
|
|
Loading…
Reference in a new issue