]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: adjust the list of supposedly cacheable methods
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Dec 2017 10:32:55 +0000 (11:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Dec 2017 13:43:26 +0000 (14:43 +0100)
commit24ea0bcb1d56ae0c99ed09273c556b0cee28e77e
tree3e28fcc0c23a6bf12a6645afe0913bd0fbe3302d
parentfe7456f3b78ca1721d7f10d9df073ed8174f83c0
MINOR: http: adjust the list of supposedly cacheable methods

We used to have a rule inherited from RFC2616 saying that the POST
method was the only uncacheable one, but things have changed since
and RFC7231+7234 made it clear that in fact only GET/HEAD/OPTIONS/TRACE
are cacheable. Currently this rule is only used to detect cacheable
cookies.
doc/configuration.txt
src/proto_http.c