summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-02-17 01:19:08 -0800
committerStanislav Malyshev <stas@php.net>2013-02-17 01:20:14 -0800
commitc877fcf6eca2a2836957a83539f6a8a4a1976ae2 (patch)
treea73d56d137eae2e3f24d1f246f43771399af9209 /sapi/cgi
parentd3291de51a169b2141460ff2e432774fe84cc90e (diff)
parent59b016192dd52f40591ad969e1ce7c1bfcb947a3 (diff)
downloadphp-git-c877fcf6eca2a2836957a83539f6a8a4a1976ae2.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Added HTTP codes as of RFC 6585
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index fbb9f512d0..9e6b74ac61 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -384,12 +384,16 @@ static const http_error http_error_codes[] = {
{413, "Request Entity Too Large"},
{414, "Request-URI Too Large"},
{415, "Unsupported Media Type"},
+ {428, "Precondition Required"},
+ {429, "Too Many Requests"},
+ {431, "Request Header Fields Too Large"},
{500, "Internal Server Error"},
{501, "Not Implemented"},
{502, "Bad Gateway"},
{503, "Service Unavailable"},
{504, "Gateway Time-out"},
{505, "HTTP Version not supported"},
+ {511, "Network Authentication Required"},
{0, NULL}
};