summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
authorJulien Pauli <jpauli@php.net>2015-12-23 11:31:18 +0100
committerJulien Pauli <jpauli@php.net>2015-12-23 11:31:18 +0100
commitea12ff149cdcfe04531c7114cf7a3b8e68cd074c (patch)
tree7352afb1a287db9d95481898720d6adebd2d3ecd /sapi/cgi
parenta57a08e79133aa37372c9c997e17f63e479e792d (diff)
downloadphp-git-ea12ff149cdcfe04531c7114cf7a3b8e68cd074c.tar.gz
Added support for HTTP 451
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c1
1 files changed, 1 insertions, 0 deletions
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"},