Skip to content

Commit

Permalink
defect: issue aondio#21
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlach-arch committed Apr 4, 2017
1 parent 86153d2 commit f7a8773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/test04.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ varnish v1 -vcl+backend {

# On cache things that look like model api calls
sub vcl_recv {
# Set the method as a header so we can reuse it for the fetch
set req.http.x-meth = req.method;
if (req.method == "POST") {
# Set the method as a header so we can reuse it for the fetch
set req.http.x-meth = req.method;
# Buffer the request body
std.cache_req_body(10KB);
return (hash);
Expand Down

0 comments on commit f7a8773

Please sign in to comment.