Commit 16fed450 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test now more capable gunzip feature



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5691 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4b124852
......@@ -16,12 +16,28 @@ client c1 {
rxresp
expect resp.bodylen == "3"
expect resp.http.content-encoding == "resp.http.content-encoding"
} -run
client c1 {
txreq -hdr "Accept-encoding: gzip;q=0.1"
rxresp
expect resp.http.content-encoding == "gzip"
gunzip
expect resp.bodylen == "3"
} -run
client c1 {
txreq -proto HTTP/1.0
rxresp
expect resp.bodylen == "3"
expect resp.http.content-encoding == "resp.http.content-encoding"
} -run
client c1 {
txreq -req HEAD
rxresp -no_obj
expect resp.http.content-encoding == "resp.http.content-encoding"
txreq -req HEAD -hdr "Accept-encoding: gzip;q=0.1"
rxresp -no_obj
expect resp.http.content-length == "26"
expect resp.http.content-encoding == "gzip"
} -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