diff options
author | Simon Rasmussen <sir@foss.dk> | 2017-10-20 15:20:18 +0200 |
---|---|---|
committer | Simon Rasmussen <sir@foss.dk> | 2017-10-20 15:20:18 +0200 |
commit | f88657a22acd7f8f40b1ef951eff93efdf0795c2 (patch) | |
tree | 45604ea3e65ad64c9d9f844d2f2f8c2b3f686c9f /include/crow/http_connection.h | |
parent | 16a0f6b663f69838865a91cdb64cd3e033c636f2 (diff) | |
download | crow-f88657a22acd7f8f40b1ef951eff93efdf0795c2.tar.gz crow-f88657a22acd7f8f40b1ef951eff93efdf0795c2.zip |
Added 413 and 429 status codes
Diffstat (limited to 'include/crow/http_connection.h')
-rw-r--r-- | include/crow/http_connection.h | 2 |
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"}, |