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.
This commit is contained in:
Yves Lafon 2013-03-11 11:06:05 -04:00 committed by Willy Tarreau
parent 2fef9b1ef6
commit 4e8ec500e5

View 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"