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:
parent
87b9337c8f
commit
914975fe6e
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user