aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaeseung Ha <ipknhama@gmail.com>2017-10-21 20:33:03 +0900
committerGitHub <noreply@github.com>2017-10-21 20:33:03 +0900
commit53af5043ac6f77cb8580c13b50956bf97819eb69 (patch)
tree45604ea3e65ad64c9d9f844d2f2f8c2b3f686c9f
parent16a0f6b663f69838865a91cdb64cd3e033c636f2 (diff)
parentf88657a22acd7f8f40b1ef951eff93efdf0795c2 (diff)
downloadcrow-53af5043ac6f77cb8580c13b50956bf97819eb69.tar.gz
crow-53af5043ac6f77cb8580c13b50956bf97819eb69.zip
Merge pull request #255 from Zagitta/status_codes
Added status codes 413 and 429
-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"},