Add 418 I'm a teapot HTTP status

This commit is contained in:
Alexander Kernozhitsky
2024-06-02 12:56:44 +02:00
committed by Mohammad Nejati
parent 146de67f5e
commit 4bff457ef7
3 changed files with 5 additions and 0 deletions

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);