Handling duplicate headers
felix at seconddrawer.com.au
Fri Apr 16 19:07:14 CEST 2010
Just a question about handling duplicate headers. I am currently using
Chrome and trying to get it to pass to the backend on a client forced
refresh. Chrome sends the following headers:
RxHeader c Cache-Control: max-age=0
RxHeader c Cache-Control: no-cache
and I have been trying to catch 'no-cache' but it never gets it with
if (req.http.Cache-Control ~ "no-cache")
as it seems to fill the 'Cache-Control' header spot with the first one
it finds, 'max-age'
Is there a way to cope with this or is this a bug?
More information about the varnish-misc