]> err.no Git - varnish/commitdiff
Remember to test the case with missing vary header
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Jun 2008 21:06:40 +0000 (21:06 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Jun 2008 21:06:40 +0000 (21:06 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2810 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/c00004.vtc

index 7d0b31b1c74b4edfe4e3469ebfc0024d5c8eed69..f949f69fb98297fff17d6592729befbd9a0f1389 100644 (file)
@@ -15,7 +15,6 @@ server s1 {
        expect req.http.foobar == "3"
        txresp -hdr "Vary: Foobar" -hdr "Snafu: 3" -hdr "Content-Length: 5" -body "3333\n"
        rxreq
-       expect req.http.foobar == "4"
        txresp -hdr "Vary: Foobar" -hdr "Snafu: 4" -hdr "Content-Length: 5" -body "4444\n"
 } -start
 
@@ -38,7 +37,7 @@ client c1 {
        expect resp.http.X-Varnish == "1003"
        expect resp.http.snafu == "3"
 
-       txreq -hdr "Foobar: 4"
+       txreq 
        rxresp
        expect resp.status == 200
        expect resp.http.X-Varnish == "1004"