Created
September 20, 2016 11:34
-
-
Save gquintard/629d134caac6e6c4acfc9a6057c603a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
varnishtest "416" | |
server s1 { | |
rxreq | |
send "HTTP/1.1 200 OK\r\n" | |
send "Content-length: 16\r\n" | |
send "\r\n" | |
send "012345678910" | |
delay 1 | |
send "abcdef" | |
} -start | |
varnish v1 -vcl+backend { | |
} -start | |
client c1 { | |
txreq -hdr "Range: bytes=14-15" | |
rxresp | |
expect resp.status == 206 | |
} -run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment