mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Added support for HTTP 451
This commit is contained in:
parent
a57a08e791
commit
ea12ff149c
4 changed files with 4 additions and 0 deletions
1
NEWS
1
NEWS
|
@ -4,6 +4,7 @@ PHP NEWS
|
||||||
|
|
||||||
- Core:
|
- Core:
|
||||||
. Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
|
. Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
|
||||||
|
. Added support for new HTTP 451 code. (Julien)
|
||||||
|
|
||||||
- FTP:
|
- FTP:
|
||||||
. Implemented FR #55651 (Option to ignore the returned FTP PASV address).
|
. 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"},
|
{428, "Precondition Required"},
|
||||||
{429, "Too Many Requests"},
|
{429, "Too Many Requests"},
|
||||||
{431, "Request Header Fields Too Large"},
|
{431, "Request Header Fields Too Large"},
|
||||||
|
{451, "Unavailable For Legal Reasons"},
|
||||||
{500, "Internal Server Error"},
|
{500, "Internal Server Error"},
|
||||||
{501, "Not Implemented"},
|
{501, "Not Implemented"},
|
||||||
{502, "Bad Gateway"},
|
{502, "Bad Gateway"},
|
||||||
|
|
|
@ -246,6 +246,7 @@ static php_cli_server_http_response_status_code_pair status_map[] = {
|
||||||
{ 428, "Precondition Required" },
|
{ 428, "Precondition Required" },
|
||||||
{ 429, "Too Many Requests" },
|
{ 429, "Too Many Requests" },
|
||||||
{ 431, "Request Header Fields Too Large" },
|
{ 431, "Request Header Fields Too Large" },
|
||||||
|
{ 451, "Unavailable For Legal Reasons"},
|
||||||
{ 500, "Internal Server Error" },
|
{ 500, "Internal Server Error" },
|
||||||
{ 501, "Not Implemented" },
|
{ 501, "Not Implemented" },
|
||||||
{ 502, "Bad Gateway" },
|
{ 502, "Bad Gateway" },
|
||||||
|
|
|
@ -379,6 +379,7 @@ static const http_error http_error_codes[] = {
|
||||||
{428, "Precondition Required"},
|
{428, "Precondition Required"},
|
||||||
{429, "Too Many Requests"},
|
{429, "Too Many Requests"},
|
||||||
{431, "Request Header Fields Too Large"},
|
{431, "Request Header Fields Too Large"},
|
||||||
|
{451, "Unavailable For Legal Reasons"},
|
||||||
{500, "Internal Server Error"},
|
{500, "Internal Server Error"},
|
||||||
{501, "Not Implemented"},
|
{501, "Not Implemented"},
|
||||||
{502, "Bad Gateway"},
|
{502, "Bad Gateway"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue