Added support for HTTP 451

This commit is contained in:
Julien Pauli 2015-12-23 11:31:18 +01:00
parent a57a08e791
commit ea12ff149c
4 changed files with 4 additions and 0 deletions

View file

@ -246,6 +246,7 @@ static php_cli_server_http_response_status_code_pair status_map[] = {
{ 428, "Precondition Required" },
{ 429, "Too Many Requests" },
{ 431, "Request Header Fields Too Large" },
{ 451, "Unavailable For Legal Reasons"},
{ 500, "Internal Server Error" },
{ 501, "Not Implemented" },
{ 502, "Bad Gateway" },