what if a header I'm testing is missing?
    Michael S. Fischer 
    michael at dynamine.net
       
    Fri Mar 21 16:05:27 CET 2008
    
    
  
On Fri, Mar 21, 2008 at 3:36 AM, Ricardo Newbery <ric at digitalmarbles.com> wrote:
>  and I'm wondering if the first part of this is unnecessary.  For
>  example, what happens if I have this...
>
>
>      if (req.http.Cookie ~ "(__ac=|_ZopeId=)") {
>          pass;
>      }
>
>  but no Cookie header is present in the request.  Is Varnish flexible
>  enough to realize that the test fails without throwing an error?
Why don't you try it and report your findings back to us?
--Michael
    
    
More information about the varnish-misc
mailing list