Add 418 I'm a teapot HTTP status

This commit is contained in:
Alexander Kernozhitsky authored and Mohammad Nejati committed 2024-06-03 17:59:18 +03:30
1 parent 146de67f5e
commit 4bff457ef7
3 files changed
+5

No files matched your search

+2
View File
@@ -72,6 +72,7 @@ public:
check(status::unsupported_media_type ,415, status_class::client_error);
check(status::range_not_satisfiable ,416, status_class::client_error);
check(status::expectation_failed ,417, status_class::client_error);
check(status::i_am_a_teapot ,418, status_class::client_error);
check(status::misdirected_request ,421, status_class::client_error);
check(status::unprocessable_entity ,422, status_class::client_error);
check(status::locked ,423, status_class::client_error);
@@ -143,6 +144,7 @@ public:
good(status::unsupported_media_type);
good(status::range_not_satisfiable);
good(status::expectation_failed);
good(status::i_am_a_teapot);
good(status::misdirected_request);
good(status::unprocessable_entity);
good(status::locked);