]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: http: status code 303 is HTTP/1.1 only
authorYves Lafon <ylafon@w3.org>
Mon, 11 Mar 2013 15:06:05 +0000 (11:06 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2013 18:08:09 +0000 (19:08 +0100)
Don't return a 303 redirect with "HTTP/1.0" as it's HTTP/1.1 only.

src/proto_http.c

index 0f1401623dc6d43955a31396e4f35aab9b65038a..4644acfc339f578e2f03c91712460573934c19d8 100644 (file)
@@ -2979,7 +2979,7 @@ int http_handle_stats(struct session *s, struct channel *req)
                 * the browse to the stats page with a GET.
                 */
                chunk_printf(&trash,
-                            "HTTP/1.0 303 See Other\r\n"
+                            "HTTP/1.1 303 See Other\r\n"
                             "Cache-Control: no-cache\r\n"
                             "Content-Type: text/plain\r\n"
                             "Connection: close\r\n"