ソースを参照

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";