aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2017-09-04 16:38:51 +0100
committerJamie Bullock <jamie@jamiebullock.com>2017-09-04 16:38:51 +0100
commit9a1e4aefddef1010219f7267358b055029488def (patch)
tree1d1c17d33ff7866871a14a7c9532255e735e949c
parent6e4e66ad1233257f6413e643cfb376d2cf298065 (diff)
downloadcrow-9a1e4aefddef1010219f7267358b055029488def.tar.gz
crow-9a1e4aefddef1010219f7267358b055029488def.zip
Revert "Add support for HTTP 422 status code"
This reverts commit 6e4e66ad1233257f6413e643cfb376d2cf298065.
-rw-r--r--amalgamate/crow_all.h1
-rw-r--r--include/crow/http_connection.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/amalgamate/crow_all.h b/amalgamate/crow_all.h
index 26f0806..41b06ff 100644
--- a/amalgamate/crow_all.h
+++ b/amalgamate/crow_all.h
@@ -8893,7 +8893,6 @@ 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"},
- {420, "HTTP/1.1 404 Unprocessable Entity\r\n"},
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
{501, "HTTP/1.1 501 Not Implemented\r\n"},
diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h
index 3ef8089..96f2d14 100644
--- a/include/crow/http_connection.h
+++ b/include/crow/http_connection.h
@@ -374,7 +374,6 @@ 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"},
- {422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
{501, "HTTP/1.1 501 Not Implemented\r\n"},