Commit 2d2188e7 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa
parent feae76fb
...@@ -113,6 +113,8 @@ std::string get_status_string(unsigned int status_code) { ...@@ -113,6 +113,8 @@ std::string get_status_string(unsigned int status_code) {
return "429 Too Many Requests"; return "429 Too Many Requests";
case 431: case 431:
return "431 Request Header Fields Too Large"; return "431 Request Header Fields Too Large";
case 451:
return "451 Unavailable For Legal Reasons";
case 500: case 500:
return "500 Internal Server Error"; return "500 Internal Server Error";
case 501: case 501:
...@@ -215,6 +217,8 @@ const char *stringify_status(unsigned int status_code) { ...@@ -215,6 +217,8 @@ const char *stringify_status(unsigned int status_code) {
return "429"; return "429";
case 431: case 431:
return "431"; return "431";
case 451:
return "451";
case 500: case 500:
return "500"; return "500";
case 501: case 501:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment