HTTP HTTP GET multi CURLOPT_OPENSOCKETFUNCTION CURLOPT_CLOSESOCKETFUNCTION # Server-side HTTP/1.1 302 eat this! Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Location: this-is-the-first.html Content-Length: 0 Connection: close [OPEN] counter: 1 HTTP/1.1 302 eat this! Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Location: this-is-the-first.html Content-Length: 0 Connection: close [CLOSE] counter: 1 # Client-side http http # tool is what to use instead of 'curl' lib%TESTNUMBER socket open/close callbacks http://%HOSTIP:%HTTPPORT/%TESTNUMBER # Verify data after the test has been "shot" GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */*