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:
@@ -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).
|
||||
|
||||
@@ -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"},
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user