Commit f9612d26 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Test case for #972

Written by:	Martin
parent 7a8492bf
varnishtest "Test conditional delivery and do_stream"
server s1 {
rxreq
txresp -hdr "ETag: foo" -body "11111\n"
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
set beresp.do_stream = true;
}
} -start
client c1 {
txreq -hdr "If-None-Match: foo"
rxresp
expect resp.status == 304
expect resp.http.etag == "foo"
expect resp.bodylen == 0
} -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