HTTP HTTP GET HTTP set cookie cookies CURLOPT_REFERER curl_easy_reset # # Server-side HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Content-Length: 6 Connection: close Content-Type: text/html -foo- # since the request runs twice HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Content-Length: 6 Connection: close Content-Type: text/html -foo- HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Content-Length: 6 Connection: close Content-Type: text/html -foo- # Client-side http # tool is what to use instead of 'curl' lib598 curl_easy_reset with referer and other strings set http://%HOSTIP:%HTTPPORT/598 # # Verify data after the test has been "shot" GET /598 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: the-moo agent next generation Accept: */* Referer: http://example.com/the-moo Cookie: name=moo GET /598 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */*