From db27812198783e3232fb8f7393fb508a6516a5dd Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 10 Jan 2020 17:50:37 -0500 Subject: [PATCH] Add status message for 202 Accepted --- httplib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/httplib.h b/httplib.h index 4132abc..a9613d1 100644 --- a/httplib.h +++ b/httplib.h @@ -1556,6 +1556,7 @@ find_content_type(const std::string &path, inline const char *status_message(int status) { switch (status) { case 200: return "OK"; + case 202: return "Accepted"; case 204: return "No Content"; case 206: return "Partial Content"; case 301: return "Moved Permanently";