Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
428996a3
Commit
428996a3
authored
Mar 02, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix and improve std.late_100_continue documentation
parent
2591b9a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
vmod.vcc
lib/libvmod_std/vmod.vcc
+13
-2
No files found.
lib/libvmod_std/vmod.vcc
View file @
428996a3
...
...
@@ -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
========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment