Commit 924d67d6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add test case for #1602

parent b6071feb
varnishtest "Test case for #1602"
server s1 {
rxreq
expect req.url == "/bar"
txresp -gzipbody {<esi:include src="/foo"/>}
rxreq
expect req.url == "/foo"
txresp -hdr "Content-Encoding: gzip"
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_esi = true;
}
} -start
client c1 {
txreq -url /bar -hdr "Accept-Encoding: gzip"
rxresp
expect resp.status == 200
} -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