vtest "test vtc gzip support"

server s1 {
	rxreq
	expect req.http.content-length == "26"
	expect req.bodylen == "26"
	gunzip
	expect req.bodylen == "3"
	expect req.http.content-encoding == "gzip"
	txresp -gzipbody FOO -gziplevel 9
} -start

client c1 -connect ${s1_sock} {
	txreq -gzipbody FOO
	rxresp
	expect resp.http.content-length == "26"
	expect resp.bodylen == "26"
	gunzip
	expect resp.bodylen == "3"
	expect resp.http.content-encoding == "gzip"
} -run
