Mailing List Archive

What's the meaning of req.http.Expect?
Hello, list.


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?


Thanks in advance.

_________________________________________________________________
MSN ???? ??? ??, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-misc/attachments/20080110/16da4a79/attachment.htm
What's the meaning of req.http.Expect? [ In reply to ]
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.
What's the meaning of req.http.Expect? [ In reply to ]
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