HTTP
HTTP GET
cookies
cookiejar
tailmatch
# Server-side
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
Set-Cookie: test=yes; domain=example.fake; path=/
Connection: close
Content-Length: 4
boo
# Client-side
http
HTTP cookie domains tailmatching the host name
http://example.fake/we/want/1218 http://example.fake/we/want/1218 http://bexample.fake/we/want/1218 -c log/jar1218.txt -x %HOSTIP:%HTTPPORT
# Verify data after the test has been "shot"
^User-Agent:.*
GET http://example.fake/we/want/1218 HTTP/1.1
Host: example.fake
Accept: */*
Proxy-Connection: Keep-Alive
GET http://example.fake/we/want/1218 HTTP/1.1
Host: example.fake
Accept: */*
Proxy-Connection: Keep-Alive
Cookie: test=yes
GET http://bexample.fake/we/want/1218 HTTP/1.1
Host: bexample.fake
Accept: */*
Proxy-Connection: Keep-Alive
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.example.fake TRUE / FALSE 0 test yes