We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce432db + b135ec6 commit 6e40d28Copy full SHA for 6e40d28
include/crow/common.h
@@ -205,6 +205,7 @@ namespace crow
205
NOT_IMPLEMENTED = 501,
206
BAD_GATEWAY = 502,
207
SERVICE_UNAVAILABLE = 503,
208
+ GATEWAY_TIMEOUT = 504,
209
VARIANT_ALSO_NEGOTIATES = 506
210
};
211
include/crow/http_connection.h
@@ -322,6 +322,7 @@ namespace crow
322
{status::NOT_IMPLEMENTED, "HTTP/1.1 501 Not Implemented\r\n"},
323
{status::BAD_GATEWAY, "HTTP/1.1 502 Bad Gateway\r\n"},
324
{status::SERVICE_UNAVAILABLE, "HTTP/1.1 503 Service Unavailable\r\n"},
325
+ {status::GATEWAY_TIMEOUT, "HTTP/1.1 504 Gateway Timeout\r\n"},
326
{status::VARIANT_ALSO_NEGOTIATES, "HTTP/1.1 506 Variant Also Negotiates\r\n"},
327
328
0 commit comments