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
%HOSTIP TRUE /we/want/ FALSE 22118138987 proven yes
http
# tool is what to use instead of 'curl'
lib%TESTNUMBER
verify setting CURLOPT_COOKIEFILE to NULL again
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER %LOGDIR/cookies676
cookies
#
# Verify data after the test has been "shot"
GET /we/want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: the-moo agent next generation
Accept: */*
Cookie: proven=yes
GET /we/want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: the-moo agent next generation
Accept: */*