aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rasmussen <sir@foss.dk>2017-10-20 15:20:18 +0200
committerSimon Rasmussen <sir@foss.dk>2017-10-20 15:20:18 +0200
commitf88657a22acd7f8f40b1ef951eff93efdf0795c2 (patch)
tree45604ea3e65ad64c9d9f844d2f2f8c2b3f686c9f
parent16a0f6b663f69838865a91cdb64cd3e033c636f2 (diff)
downloadcrow-f88657a22acd7f8f40b1ef951eff93efdf0795c2.tar.gz
crow-f88657a22acd7f8f40b1ef951eff93efdf0795c2.zip
Added 413 and 429 status codes
-rw-r--r--include/crow/http_connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h
index 1537d17..3d214f3 100644
--- a/include/crow/http_connection.h
+++ b/include/crow/http_connection.h
@@ -374,7 +374,9 @@ namespace crow
{401, "HTTP/1.1 401 Unauthorized\r\n"},
{403, "HTTP/1.1 403 Forbidden\r\n"},
{404, "HTTP/1.1 404 Not Found\r\n"},
+ {413, "HTTP/1.1 413 Payload Too Large\r\n"},
{422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
+ {429, "HTTP/1.1 429 Too Many Requests\r\n"},
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
{501, "HTTP/1.1 501 Not Implemented\r\n"},