Skip to content

Commit 6e40d28

Browse files
authored
Merge branch 'master' into feature-localtime
2 parents ce432db + b135ec6 commit 6e40d28

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/crow/common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ namespace crow
205205
NOT_IMPLEMENTED = 501,
206206
BAD_GATEWAY = 502,
207207
SERVICE_UNAVAILABLE = 503,
208+
GATEWAY_TIMEOUT = 504,
208209
VARIANT_ALSO_NEGOTIATES = 506
209210
};
210211

include/crow/http_connection.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ namespace crow
322322
{status::NOT_IMPLEMENTED, "HTTP/1.1 501 Not Implemented\r\n"},
323323
{status::BAD_GATEWAY, "HTTP/1.1 502 Bad Gateway\r\n"},
324324
{status::SERVICE_UNAVAILABLE, "HTTP/1.1 503 Service Unavailable\r\n"},
325+
{status::GATEWAY_TIMEOUT, "HTTP/1.1 504 Gateway Timeout\r\n"},
325326
{status::VARIANT_ALSO_NEGOTIATES, "HTTP/1.1 506 Variant Also Negotiates\r\n"},
326327
};
327328

0 commit comments

Comments
 (0)