HTTP HTTP GET chunked Transfer-Encoding # # Server-side HTTP/1.1 200 funky chunky! Server: fakeit/0.9 fakeitbad/1.0 Transfer-Encoding: chunked Trailer: chunky-trailer Connection: mooo 40 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 30 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 21;heresatest=moooo cccccccccccccccccccccccccccccccc 0 chunky-trailer: header data HTTP/1.1 200 funky chunky! Server: fakeit/0.9 fakeitbad/1.0 Transfer-Encoding: chunked Trailer: chunky-trailer Connection: mooo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc chunky-trailer: header data writedelay: 10 # # Client-side http HTTP GET with chunked Transfer-Encoding and chunked trailer http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D log/heads%TESTNUMBER # # Verify data after the test has been "shot" GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* HTTP/1.1 200 funky chunky! Server: fakeit/0.9 fakeitbad/1.0 Transfer-Encoding: chunked Trailer: chunky-trailer Connection: mooo chunky-trailer: header data