Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
c04aa1df
Commit
c04aa1df
authored
Aug 01, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add HTTP/2 tests to e28.vtc.
parent
5628b347
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
122 additions
and
0 deletions
+122
-0
e00028.vtc
src/tests/e00028.vtc
+122
-0
No files found.
src/tests/e00028.vtc
View file @
c04aa1df
...
@@ -142,3 +142,125 @@ client c1 {
...
@@ -142,3 +142,125 @@ client c1 {
expect resp.body == "fooqux"
expect resp.body == "fooqux"
expect resp.http.Vary == "fooqux, Accept-Encoding"
expect resp.http.Vary == "fooqux, Accept-Encoding"
} -run
} -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 -url /foo
rxresp
expect resp.status == 200
expect resp.body == "foo"
expect resp.http.Vary == <undef>
} -run
stream 3 {
txreq -url /foo -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.body == "foo"
expect resp.http.Vary == <undef>
} -run
stream 5 {
txreq -url /bar
rxresp
expect resp.status == 200
expect resp.body == "bar"
expect resp.http.Vary == "Accept-Encoding"
} -run
stream 7 {
txreq -url /bar -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.bodylen == 34
expect resp.http.Vary == "Accept-Encoding"
} -run
stream 9 {
txreq -url /baz
rxresp
expect resp.status == 200
expect resp.body == "baz"
expect resp.http.Vary == "Accept-Encoding"
} -run
stream 11 {
txreq -url /baz -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.bodylen == 34
expect resp.http.Vary == "Accept-Encoding"
} -run
stream 13 {
txreq -url /qux
rxresp
expect resp.status == 200
expect resp.body == "qux"
expect resp.http.Vary == "qux, Accept-Encoding"
} -run
stream 15 {
txreq -url /qux -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.bodylen == 34
expect resp.http.Vary == "qux, Accept-Encoding"
} -run
stream 17 {
txreq -url /fubar
rxresp
expect resp.status == 200
expect resp.body == "fubar"
expect resp.http.Vary == "fubar, Accept-Encoding"
} -run
stream 19 {
txreq -url /fubar -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.bodylen == 36
expect resp.http.Vary == "fubar, Accept-Encoding"
} -run
stream 21 {
txreq -url /foobar
rxresp
expect resp.status == 200
expect resp.body == "foobar"
expect resp.http.Vary == <undef>
} -run
stream 23 {
txreq -url /foobar -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.body == "foobar"
expect resp.http.Vary == <undef>
} -run
stream 25 {
txreq -url /foobaz
rxresp
expect resp.status == 200
expect resp.body == "foobaz"
expect resp.http.Vary == "foobaz"
} -run
stream 27 {
txreq -url /foobaz -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.body == "foobaz"
expect resp.http.Vary == "foobaz"
} -run
stream 29 {
txreq -url /fooqux
rxresp
expect resp.status == 200
expect resp.body == "fooqux"
expect resp.http.Vary == "fooqux, Accept-Encoding"
} -run
stream 31 {
txreq -url /fooqux -hdr accept-encoding gzip
rxresp
expect resp.status == 200
expect resp.body == "fooqux"
expect resp.http.Vary == "fooqux, Accept-Encoding"
} -run
} -run
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment