Skip to content

Commit c9c2794

Browse files
adililhanJulien Pauli
authored and
Julien Pauli
committed
HTTP 506 status code added.
HTTP 506 status code added in main http status codes file. Reference: RFC 2295
1 parent 3b63811 commit c9c2794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/http_status_codes.h

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static http_response_status_code_pair http_status_map[] = {
7272
{ 503, "Service Unavailable" },
7373
{ 504, "Gateway Timeout" },
7474
{ 505, "HTTP Version Not Supported" },
75+
{ 506, "Variant Also Negotiates" },
7576
{ 511, "Network Authentication Required" },
7677
/* to allow search with while() loop */
7778
{ 0, NULL }

0 commit comments

Comments
 (0)