Commit 7e8cf204 authored by Geoff Simmons's avatar Geoff Simmons

Clean up gunzip.vtc, and repeat the test without A-E:gzip.

parent 8f11b8e6
...@@ -36,6 +36,10 @@ server s4 { ...@@ -36,6 +36,10 @@ server s4 {
rxreq rxreq
expect req.url == "/esi1-1.html" expect req.url == "/esi1-1.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-1 txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-1
}
rxreq
expect req.url == "/esi1-1.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-1
} }
} -start } -start
...@@ -43,6 +47,10 @@ server s5 { ...@@ -43,6 +47,10 @@ server s5 {
rxreq rxreq
expect req.url == "/esi1-2.html" expect req.url == "/esi1-2.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-2 txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-2
}
rxreq
expect req.url == "/esi1-2.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi1-2
} }
} -start } -start
...@@ -50,6 +58,10 @@ server s6 { ...@@ -50,6 +58,10 @@ server s6 {
rxreq rxreq
expect req.url == "/esi2-1.html" expect req.url == "/esi2-1.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-1 txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-1
}
rxreq
expect req.url == "/esi2-1.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-1
} }
} -start } -start
...@@ -57,6 +69,10 @@ server s7 { ...@@ -57,6 +69,10 @@ server s7 {
rxreq rxreq
expect req.url == "/esi2-2.html" expect req.url == "/esi2-2.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-2 txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-2
}
rxreq
expect req.url == "/esi2-2.html"
txresp -hdr "Cache-Control: max-age=0" -gzipbody {esi2-2
} }
} -start } -start
...@@ -101,14 +117,50 @@ client c1 { ...@@ -101,14 +117,50 @@ client c1 {
rxresp rxresp
expect resp.status == 200 expect resp.status == 200
gunzip gunzip
# expect resp.bodylen == XXX expect resp.bodylen == 191
# expect resp.body == {XXX} expect resp.body == {<Before esi1>
<Before esi1-1>
# XXX Fehler auch mit diesem Test (ohne Accept-Encoding) esi1-1
# in dem Fall schlägt gunzip im Rahmen von Delivery fehl
# txreq Between esi1-1 and esi1-2
# rxresp esi1-2
# expect resp.status == 200
# expect resp.bodylen == XXX After esi1-2
# expect resp.body == {XXX}
Between esi1 and esi2
<Before esi2-1>
esi2-1
Between esi2-1 and esi2-2
esi2-2
After esi2-2
After esi2
}
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 191
expect resp.body == {<Before esi1>
<Before esi1-1>
esi1-1
Between esi1-1 and esi1-2
esi1-2
After esi1-2
Between esi1 and esi2
<Before esi2-1>
esi2-1
Between esi2-1 and esi2-2
esi2-2
After esi2-2
After esi2
}
} -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