Commit c3c5596f authored by Nils Goroll's avatar Nils Goroll

break up long lines for legibility

parent 5bb52ba2
...@@ -11,7 +11,9 @@ server s1 { ...@@ -11,7 +11,9 @@ server s1 {
expect req.url == "/bar" expect req.url == "/bar"
expect req.http.Foo == <undef> expect req.http.Foo == <undef>
expect req.http.FromVCL == "123" expect req.http.FromVCL == "123"
txresp -hdr "Bar: fnry,glyf, FOO ,brok" -hdr "Connection: bar" -body "foobar" txresp -hdr "Bar: fnry,glyf, FOO ,brok" \
-hdr "Connection: bar" \
-body "foobar"
} -start } -start
varnish v1 -vcl+backend { varnish v1 -vcl+backend {
...@@ -25,13 +27,18 @@ client c1 { ...@@ -25,13 +27,18 @@ client c1 {
rxresp rxresp
expect resp.http.Bar == "foo" expect resp.http.Bar == "foo"
txreq -url "/bar" -hdr "Foo: bar2" -hdr "Connection: FromVCL, foo, close" txreq -url "/bar" \
-hdr "Foo: bar2" \
-hdr "Connection: FromVCL, foo, close"
rxresp rxresp
expect req.http.Bar == <undef> expect req.http.Bar == <undef>
} -run } -run
client c1 { client c1 {
txreq -url "/bar" -hdr "foo: 1" -hdr "Age: 200" -hdr "Connection: Age" txreq -url "/bar" \
-hdr "foo: 1" \
-hdr "Age: 200" \
-hdr "Connection: Age"
rxresp rxresp
expect resp.status == 400 expect resp.status == 400
} -run } -run
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