Commit 9cf1ae9b authored by Federico G. Schwindt's avatar Federico G. Schwindt

Exercise ESI with gzip support disabled

Related to #2626.
parent ce91292d
varnishtest "ESI with http_gzip_support off"
server s1 {
rxreq
txresp -gzipbody {<esi:include src="/foo">}
rxreq
txresp -gzipbody "bar"
} -start
varnish v1 -arg "-p http_gzip_support=off" -vcl+backend {
sub vcl_backend_response {
set beresp.do_esi = true;
}
} -start
client c1 {
txreq
rxresp
gunzip
expect resp.body == "bar"
} -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