diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | sapi/cgi/cgi_main.c | 1 | ||||
-rw-r--r-- | sapi/cli/php_cli_server.c | 1 | ||||
-rw-r--r-- | sapi/fpm/fpm/fpm_main.c | 1 |
4 files changed, 4 insertions, 0 deletions
@@ -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). diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 1c0b489f28..40b42855f4 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -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"}, diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 4ed0efb820..87d19c29a1 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -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" }, diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c index 8b1503d6f0..19a902e2f7 100644 --- a/sapi/fpm/fpm/fpm_main.c +++ b/sapi/fpm/fpm/fpm_main.c @@ -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"}, |