diff options
author | Adam Harvey <aharvey@php.net> | 2014-06-12 17:56:10 -0700 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2014-06-12 17:56:10 -0700 |
commit | e956ba935765c410195a3d402aa9456d187472d6 (patch) | |
tree | bf4217751f0257df809d84589fac82f170760cd4 /sapi/cli/php_cli_server.c | |
parent | aa3a5f7681060b9fe7839479d4b4355ccaa10e5e (diff) | |
parent | fe676748091e3329a8c8b053b7ce6fd41ae264e6 (diff) | |
download | php-git-e956ba935765c410195a3d402aa9456d187472d6.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
Add 308 and 426 to the HTTP response code map in the CLI server.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 3ca3325046..88eb5743ba 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -223,6 +223,7 @@ static php_cli_server_http_response_status_code_pair status_map[] = { { 304, "Not Modified" }, { 305, "Use Proxy" }, { 307, "Temporary Redirect" }, + { 308, "Permanent Redirect" }, { 400, "Bad Request" }, { 401, "Unauthorized" }, { 402, "Payment Required" }, @@ -241,6 +242,7 @@ static php_cli_server_http_response_status_code_pair status_map[] = { { 415, "Unsupported Media Type" }, { 416, "Requested Range Not Satisfiable" }, { 417, "Expectation Failed" }, + { 426, "Upgrade Required" }, { 428, "Precondition Required" }, { 429, "Too Many Requests" }, { 431, "Request Header Fields Too Large" }, |