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

Erik duja at torlen.net
Thu Jan 10 09:50:54 CET 2008


The expect header:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20

Original Message -----------------------
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.
_______________________________________________
varnish-misc mailing list
varnish-misc at projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list