15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Server: test-server/fake
17 Content-Type: text/html
18 Funny-head: yesyes swsclose
19 Set-Cookie: foobar=name;
20 Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
21 Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
32 HTTP with cookie parser and header recording
35 "http://%HOSTIP:%HTTPPORT/we/want/1105?parm1=this*that/other/thing&parm2=foobar/1105" -c log/cookie1105.txt -d "userid=myname&password=mypassword"
39 # Verify data after the test has been "shot"
44 <protocol nonewline="yes">
45 POST /we/want/1105?parm1=this*that/other/thing&parm2=foobar/1105 HTTP/1.1
\r
46 Host: %HOSTIP:%HTTPPORT
\r
49 Content-Type: application/x-www-form-urlencoded
\r
51 userid=myname&password=mypassword
53 <file name="log/cookie1105.txt">
54 # Netscape HTTP Cookie File
55 # http://curl.haxx.se/rfc/cookie_spec.html
56 # This file was generated by libcurl! Edit at your own risk.
58 127.0.0.1 FALSE /we/want/ FALSE 0 foobar name
59 .127.0.0.1 TRUE "/silly/" FALSE 0 mismatch this
60 .0.0.1 TRUE / FALSE 0 partmatch present