mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 14:31:08 +01:00
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:
parent
2fef9b1ef6
commit
4e8ec500e5
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user