Skip to content

Commit 7fbb8bb

Browse files
authored
Merge pull request yhirose#326 from vvanelslande/add_202
Add status message for 202 Accepted
2 parents 6fe6fd5 + db27812 commit 7fbb8bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

httplib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,7 @@ find_content_type(const std::string &path,
15561556
inline const char *status_message(int status) {
15571557
switch (status) {
15581558
case 200: return "OK";
1559+
case 202: return "Accepted";
15591560
case 204: return "No Content";
15601561
case 206: return "Partial Content";
15611562
case 301: return "Moved Permanently";

0 commit comments

Comments
 (0)