r5335 - trunk/varnish-cache/bin/varnishtest/tests

phk at varnish-cache.org phk at varnish-cache.org
Wed Sep 29 10:40:57 CEST 2010


Author: phk
Date: 2010-09-29 10:40:56 +0200 (Wed, 29 Sep 2010)
New Revision: 5335

Added:
   trunk/varnish-cache/bin/varnishtest/tests/r00763.vtc
Log:
Add regression test for #763



Added: trunk/varnish-cache/bin/varnishtest/tests/r00763.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/r00763.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/r00763.vtc	2010-09-29 08:40:56 UTC (rev 5335)
@@ -0,0 +1,18 @@
+# $Id$
+
+test "Vary header with extra colon"
+
+server s1 {
+	rxreq
+	txresp -hdr "Vary:: foo" -hdr "Foo: bar" -bodylen 9
+} -start
+
+varnish v1 -vcl+backend {} -start
+
+client c1 {
+	txreq
+	rxresp
+	expect resp.http.vary == ": foo"
+} -run
+
+




More information about the varnish-commit mailing list