curl_easy_header
CONNECT
# Server-side
HTTP/1.1 200 funky chunky!
Server: fakeit/0.9 fakeitbad/1.0
Date: Thu, 09 Nov 2010 14:49:00 GMT
Transfer-Encoding: chunked
Trailer: server
Connection: mooo
40
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
30
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
21;heresatest=moooo
cccccccccccccccccccccccccccccccc
0
Server: sent-as-trailer
# Client-side
http
headers-api
http
curl_easy_header with trailers
lib1940
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
Date == Thu, 09 Nov 2010 14:49:00 GMT
Server == fakeit/0.9 fakeitbad/1.0
Server == sent-as-trailer