Commit e51cef1e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a testcase which demonstrates bug #641, but does not fail it, yet.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4533 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d785e983
# $Id$
test "Regression test for 524: HTTP/1.0 and ESI"
server s1 {
rxreq
expect req.url == "/"
txresp -proto HTTP/1.0 -body {
<esi:remove> </esi:remove>
<_esi:include src="/foo"/>
<esi:remove> </esi:remove>
}
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
// return (pass);
}
sub vcl_fetch {
esi;
}
} -cliok "param.set sess_timeout 60" -start
client c1 {
txreq -proto HTTP/1.1
rxresp
# XXX this is the problem: expect resp.proto == HTTP/1.1
expect resp.status == 200
expect resp.bodylen == 39
} -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