com php-src: HTTP 506 status code added.: main/http_status_ codes.h
| From: | JulienPauli | Date: | Tue, 12 May 2015 12:08:17 +0000 |
| Subject: | com php-src: HTTP 506 status code added.: main/http_status_ codes.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86689@lists.php.net to get a copy of this message | ||
Commit: c9c2794fe6d4d780e17cddfcab3beeefd2ba1667
Author: Adil Ilhan <adilmedya@gmail.com> Wed, 1 Apr 2015 10:39:53 +0300
Committer: Julien Pauli <jpauli@php.net> Tue, 12 May 2015 14:08:17 +0200
Parents: 3b6381125cad4818c091d1400ca5bc3e588ecfc1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c9c2794fe6d4d780e17cddfcab3beeefd2ba1667
Log:
HTTP 506 status code added.
HTTP 506 status code added in main http status codes file. Reference: RFC 2295
Changed paths:
M main/http_status_codes.h
Diff:
diff --git a/main/http_status_codes.h b/main/http_status_codes.h
index 0038f38..4567fb4 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 }