Commit 428996a3 authored by Nils Goroll's avatar Nils Goroll

fix and improve std.late_100_continue documentation

parent 2591b9a9
......@@ -290,8 +290,8 @@ Description
request header.
Varnish always generates a `100 Continue` response if
requested by the by the client trough the `Expect:
100-continue` header when waiting for request body data.
requested by the client trough the `Expect: 100-continue`
header when waiting for request body data.
But, by default, the `100 Continue` response is already
generated immediately after `vcl_recv` returns to reduce
......@@ -308,6 +308,17 @@ Description
calling `std.cache_req_body()` or any other function consuming
the request body.
Example
| vcl_recv {
| std.late_100_continue(true);
|
| if (req.method == "POST") {
| std.late_100_continue(false);
| return (pass);
| }
| ...
| }
SEE ALSO
========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment