MINOR: cache: add method to cache hash
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 5 Aug 2019 14:55:32 +0000 (16:55 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 7 Aug 2019 13:13:38 +0000 (15:13 +0200)
commitdb92a836f4ddafd972cde2b647ee5d207112b303
treec353b1063d12db8ee4ebd9e5d3d727314207cecc
parent6386481cbb9351652fad3b9d828d7c8e66f1936c
MINOR: cache: add method to cache hash

Current HTTP cache hash contains only the Host header and the url path.
That said, request method should also be added to the mix to support
caching other request methods on the same URL. IE GET and OPTIONS.
src/cache.c