mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
MINOR: http: status 301 should not be marked non-cacheable
Also, browsers behaviour is inconsistent regarding the Cache-Control header field on a 301.
This commit is contained in:
parent
3e8d1ae2d2
commit
e267421e93
@ -75,7 +75,6 @@ const struct chunk http_100_chunk = {
|
||||
/* Warning: no "connection" header is provided with the 3xx messages below */
|
||||
const char *HTTP_301 =
|
||||
"HTTP/1.1 301 Moved Permanently\r\n"
|
||||
"Cache-Control: no-cache\r\n"
|
||||
"Content-length: 0\r\n"
|
||||
"Location: "; /* not terminated since it will be concatenated with the URL */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user