HTTP
HTTP GET
multi
CURLOPT_OPENSOCKETFUNCTION
CURLOPT_CLOSESOCKETFUNCTION
# Server-side
HTTP/1.1 302 eat this!
Date: Thu, 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: Thu, 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'
lib585
socket open/close callbacks
http://%HOSTIP:%HTTPPORT/585
# Verify data after the test has been "shot"
^User-Agent:.*
GET /585 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*