mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-26 12:24:46 +00:00
Add status message for 202 Accepted
This commit is contained in:
1 parent
6fe6fd5dbe
commit
db27812198
1 file changed
+1
@@ -1556,6 +1556,7 @@ find_content_type(const std::string &path,
|
|||||||
inline const char *status_message(int status) {
|
inline const char *status_message(int status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 200: return "OK";
|
case 200: return "OK";
|
||||||
|
case 202: return "Accepted";
|
||||||
case 204: return "No Content";
|
case 204: return "No Content";
|
||||||
case 206: return "Partial Content";
|
case 206: return "Partial Content";
|
||||||
case 301: return "Moved Permanently";
|
case 301: return "Moved Permanently";
|
||||||
|
|||||||
Reference in new issue
Block a user