[Varnish] #680: Passing on HEAD modifies backend request method to GET.

Varnish varnish-bugs at varnish-cache.org
Thu Apr 15 10:15:57 CEST 2010


#680: Passing on HEAD modifies backend request method to GET.
----------------------+-----------------------------------------------------
 Reporter:  censored  |        Type:  defect
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  build 
  Version:  trunk     |    Severity:  normal
 Keywords:            |  
----------------------+-----------------------------------------------------
 Redefine vcl_recv as follows:

 sub vcl_recv {
     if (req.request == "HEAD") {
         return(pass);
     }
 }

 Pass works, but varnish still changes the method from HEAD to GET in the
 backend request.

-- 
Ticket URL: <http://www.varnish-cache.org/ticket/680>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list