Adjust to varnish-cache 65242d1d97a3f0a75880f85bf2d1e0b56f917d98

parent 16f2bda4
......@@ -4,7 +4,7 @@ varnishtest "ESI include"
server s1 {
rxreq
expect req.http.esi0 == "foo"
txresp -body {
txresp -noserver -body {
<html>
Before include
<esi:include src="/body" sr="foo"/>
......@@ -17,7 +17,7 @@ server s2 {
rxreq
expect req.url == "/body1"
expect req.http.esi0 != "foo"
txresp -body {
txresp -noserver -body {
Included file
}
} -start
......@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
} -start
client c1 {
txreq -hdr "Host: foo"
txreq -nouseragent -hdr "Host: foo"
rxresp
expect resp.status == 200
expect resp.bodylen == 75
......@@ -75,7 +75,7 @@ client c1 {
delay .1
# test that there is no difference on miss/hit
txreq -hdr "Host: foo"
txreq -nouseragent -hdr "Host: foo"
rxresp
expect resp.status == 200
expect resp.bodylen == 75
......
......@@ -3,7 +3,7 @@ varnishtest "same as e00003.vtc with serial processing"
server s1 {
rxreq
expect req.http.esi0 == "foo"
txresp -body {
txresp -noserver -body {
<html>
Before include
<esi:include src="/body" sr="foo"/>
......@@ -16,7 +16,7 @@ server s2 {
rxreq
expect req.url == "/body1"
expect req.http.esi0 != "foo"
txresp -body {
txresp -noserver -body {
Included file
}
} -start
......@@ -58,7 +58,7 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
} -start
client c1 {
txreq -hdr "Host: foo"
txreq -nouseragent -hdr "Host: foo"
rxresp
expect resp.status == 200
expect resp.bodylen == 75
......@@ -75,7 +75,7 @@ client c1 {
delay .1
# test that there is no difference on miss/hit
txreq -hdr "Host: foo"
txreq -nouseragent -hdr "Host: foo"
rxresp
expect resp.status == 200
expect resp.bodylen == 75
......
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