Commit 04e2a099 authored by Geoff Simmons's avatar Geoff Simmons

Add an HTTP/2 test to e25.vtc.

parent dfea32ee
......@@ -28,3 +28,27 @@ client c1 {
expect resp.status == 200
expect resp.bodylen == 3
} -run
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
## See comments in e23.vtc about limitations using vtc to test
## gzipped H2 responses.
client c1 {
stream 1 {
txreq -hdr accept-encoding gzip
rxresp
expect resp.http.content-encoding == gzip
expect resp.status == 200
} -run
stream 3 {
txreq
rxresp
expect resp.http.content-encoding == <undef>
expect resp.status == 200
expect resp.bodylen == 3
expect resp.body == "FOO"
} -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