]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test342: make it return a 304 as the tag matches
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Dec 2019 15:52:07 +0000 (16:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Dec 2019 15:58:50 +0000 (16:58 +0100)
tests/data/test342

index b54e0481907ca59c8ca997a3e98c036ec9e5a482..95297ba500f5ea0e8595f3a735e7f8ca8fd051e7 100644 (file)
@@ -10,18 +10,17 @@ HTTP GET
 # Server-side
 <reply>
 <data>
-HTTP/1.1 200 OK
+HTTP/1.1 304 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
 ETag: "21025-dc7-39462498"
 Accept-Ranges: bytes
-Content-Length: 6
+Content-Length: 0
 Connection: close
 Content-Type: text/html
 Funny-head: yesyes
 
--foo-
 </data>
 </reply>