What's the meaning of req.http.Expect?

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jan 10 09:18:24 CET 2008


In message <BLU116-W270839BDEE99BC1BB0D98D854A0 at phx.gbl>, MontyRee writes:

>I can see req.http.Expect like below from the lots of vcl example.
>  if (req.http.Expect) {                  pipe;              }
>Then, what's the meaning of the req.http.Expect?

The test above is "If the request has a "Expect:" HTTP header"

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list