소스 검색

Merge pull request #334 from vvanelslande/add_503

Add status message: 503 Service Unavailable
yhirose 6 년 전
부모
커밋
e5ca863de5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      httplib.h

+ 1 - 0
httplib.h

@@ -1581,6 +1581,7 @@ inline const char *status_message(int status) {
   case 414: return "Request-URI Too Long";
   case 415: return "Unsupported Media Type";
   case 416: return "Range Not Satisfiable";
+  case 503: return "Service Unavailable";
 
   default:
   case 500: return "Internal Server Error";