what if a header I'm testing is missing?

2008-03-21 Thread Ricardo Newbery
This is a minor thing but I'm wondering if I'm making an incorrect assumption. In my vcl file, I have lines similar to the following... if (req.http.Cookie req.http.Cookie ~ (__ac=|_ZopeId=)) { pass; } and I'm wondering if the first part of this is unnecessary. For

Re: Specification out of date?

2008-03-21 Thread Dag-Erling Smørgrav
Ricardo Newbery [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: I still don't understand why you want to go from hit to fetch. Just pass it. Because a pass will not store the response in cache when it otherwise should if it contains a public token. Dude, it's

Re: what if a header I'm testing is missing?

2008-03-21 Thread Michael S. Fischer
On Fri, Mar 21, 2008 at 3:36 AM, Ricardo Newbery [EMAIL PROTECTED] 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

Re: Specification out of date?

2008-03-21 Thread Ricardo Newbery
On Mar 21, 2008, at 11:45 AM, Ricardo Newbery wrote: On Mar 21, 2008, at 5:08 AM, Dag-Erling Smørgrav wrote: Ricardo Newbery [EMAIL PROTECTED] writes: Dag-Erling Smørgrav [EMAIL PROTECTED] writes: I still don't understand why you want to go from hit to fetch. Just pass it. Because a