Hi,<br><br>My client machine (actually another server generating requests) is creating POST requests to varnish which also include basic HTTP authentication.<br><br>I've got varnish caching POST requests from my browser by changing the line in vcl_recv to this:<br>
<br> if (req.request != "GET" && req.request != "HEAD" && req.request != "POST")<br><br>So caching POSTs isnt a problem but I cant get it to cache the client requests from the client server because it is using authorisation (the authorisation is hard coded )<br>
<br>In vcl_recv I also commented out the "if (req.http.Authorization || req.http.Cookie) {" section and also added "unset req.http.Authorization;" but neither made any difference, every request shows up as a "Cache hits for pass".<br>
<br>I'd be grateful for any suggestions anyone has.<br><br>Rob<br><br><br>