From f88657a22acd7f8f40b1ef951eff93efdf0795c2 Mon Sep 17 00:00:00 2001 From: Simon Rasmussen Date: Fri, 20 Oct 2017 15:20:18 +0200 Subject: Added 413 and 429 status codes --- include/crow/http_connection.h | 2 ++ 1 file changed, 2 insertions(+) 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"}, -- cgit v1.2.3-54-g00ecf