1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

test342: make it return a 304 as the tag matches

This commit is contained in:
Daniel Stenberg 2019-12-05 16:52:07 +01:00
parent 87b9337c8f
commit 914975fe6e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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