소스 검색

Merge pull request #326 from vvanelslande/add_202

Add status message for 202 Accepted
yhirose 6 년 전
부모
커밋
7fbb8bb3fd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      httplib.h

+ 1 - 0
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";