From: Yves Lafon Date: Mon, 11 Mar 2013 15:06:05 +0000 (-0400) Subject: MINOR: http: status code 303 is HTTP/1.1 only X-Git-Tag: v1.5-dev18~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e8ec500e54c2781964cb2af7b3e7545138fea28;p=thirdparty%2Fhaproxy.git MINOR: http: status code 303 is HTTP/1.1 only Don't return a 303 redirect with "HTTP/1.0" as it's HTTP/1.1 only. --- diff --git a/src/proto_http.c b/src/proto_http.c index 0f1401623d..4644acfc33 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -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"