mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-08 00:00:32 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue