HTTP
HTTP GET
# Server-side
HTTP/1.1 200 funky chunky!%CR
Server: fakeit/0.9 fakeitbad/1.0%CR
Transfer-Encoding: chunked%CR
Trailer: chunky-trailer%CR
Connection: mooo%CR
ETag: "asdf"%CR
%CR
40
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
30
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
21;heresatest=moooo
cccccccccccccccccccccccccccccccc
0
chunky-trailer: header data
# Client-side
http
A non existing file with --etag-compare is just a blank
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
If-None-Match: ""