[master] 065f445 Fix a fine point in this test-case: We can get a Content-Length on a 304 response, but we still don't get the body.

Poul-Henning Kamp phk at varnish-cache.org
Fri Sep 6 23:50:45 CEST 2013


commit 065f4457b5a496e74cb5af9e8fbb4fc7e30ab349
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Sep 6 16:58:54 2013 +0000

    Fix a fine point in this test-case:  We can get a Content-Length on
    a 304 response, but we still don't get the body.

diff --git a/bin/varnishtest/tests/c00008.vtc b/bin/varnishtest/tests/c00008.vtc
index 69c64d4..e41e0b2 100644
--- a/bin/varnishtest/tests/c00008.vtc
+++ b/bin/varnishtest/tests/c00008.vtc
@@ -25,13 +25,13 @@ client c1 {
 
 	txreq -url "/foo" \
 	    -hdr "If-Modified-Since: Thu, 26 Jun 2008 12:00:01 GMT"
-	rxresp
+	rxresp -no_obj
 	expect resp.status == 304
 	expect resp.http.etag == "foo"
 
 	txreq -url "/foo" \
 	    -hdr "If-Modified-Since: Thu, 26 Jun 2008 12:00:02 GMT"
-	rxresp
+	rxresp -no_obj
 	expect resp.status == 304
 	expect resp.http.etag == "foo"
 } 



More information about the varnish-commit mailing list