HTTP
HTTP GET
chunked Transfer-Encoding
# Server-side
HTTP/1.1 200 OK%CR
Server: test%CR
Transfer-Encoding: chunked%CR
Trailer: chunky-trailer%CR
%CR
6%CR
-foo-%CR
0%CR
chunky-trailer: he%hex[%00]hex%llo%CR
%CR
# Client-side
http
HTTP chunked response with a nul byte in the trailer
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
8