summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdil Ilhan <adilmedya@gmail.com>2015-04-01 10:39:53 +0300
committerJulien Pauli <jpauli@php.net>2015-05-12 14:08:17 +0200
commitc9c2794fe6d4d780e17cddfcab3beeefd2ba1667 (patch)
tree076f71186761d720bf24a8c9e8327a661ec6b9b3
parent3b6381125cad4818c091d1400ca5bc3e588ecfc1 (diff)
downloadphp-git-c9c2794fe6d4d780e17cddfcab3beeefd2ba1667.tar.gz
HTTP 506 status code added.
HTTP 506 status code added in main http status codes file. Reference: RFC 2295
-rw-r--r--main/http_status_codes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/http_status_codes.h b/main/http_status_codes.h
index 0038f38329..4567fb4f3d 100644
--- a/main/http_status_codes.h
+++ b/main/http_status_codes.h
@@ -72,6 +72,7 @@ static http_response_status_code_pair http_status_map[] = {
{ 503, "Service Unavailable" },
{ 504, "Gateway Timeout" },
{ 505, "HTTP Version Not Supported" },
+ { 506, "Variant Also Negotiates" },
{ 511, "Network Authentication Required" },
/* to allow search with while() loop */
{ 0, NULL }