1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00

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
+1
View File
@@ -4,6 +4,7 @@ PHP NEWS
- Core:
. Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
. Added support for new HTTP 451 code. (Julien)
- FTP:
. Implemented FR #55651 (Option to ignore the returned FTP PASV address).
+1
View File
@@ -387,6 +387,7 @@ static const http_error http_error_codes[] = {
{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"},
+1
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" },
+1
View File
@@ -379,6 +379,7 @@ static const http_error http_error_codes[] = {
{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"},