mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #367 from kingster/feature-additional-httpcodes
Add http 504 codes
This commit is contained in:
commit
b135ec6392
@ -205,6 +205,7 @@ namespace crow
|
||||
NOT_IMPLEMENTED = 501,
|
||||
BAD_GATEWAY = 502,
|
||||
SERVICE_UNAVAILABLE = 503,
|
||||
GATEWAY_TIMEOUT = 504,
|
||||
VARIANT_ALSO_NEGOTIATES = 506
|
||||
};
|
||||
|
||||
|
@ -322,6 +322,7 @@ namespace crow
|
||||
{status::NOT_IMPLEMENTED, "HTTP/1.1 501 Not Implemented\r\n"},
|
||||
{status::BAD_GATEWAY, "HTTP/1.1 502 Bad Gateway\r\n"},
|
||||
{status::SERVICE_UNAVAILABLE, "HTTP/1.1 503 Service Unavailable\r\n"},
|
||||
{status::GATEWAY_TIMEOUT, "HTTP/1.1 504 Gateway Timeout\r\n"},
|
||||
{status::VARIANT_ALSO_NEGOTIATES, "HTTP/1.1 506 Variant Also Negotiates\r\n"},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user