14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake
17 Content-Type: text/html
19 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
21 Set-Cookie: partmatch=present; domain=127.0.0.1 ; path=/;
22 Set-Cookie:eat=this; domain=moo.foo.moo;
23 Set-Cookie: eat=this-too; domain=.foo.moo;
24 Set-Cookie: nodomainnovalue
25 Set-Cookie: nodomain=value; expires=Fri Feb 2 11:56:27 GMT 2035
26 Set-Cookie: novalue; domain=reallysilly
27 Set-Cookie: test=yes; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
28 Set-Cookie: test2=yes; domain=se; expires=Sat Feb 2 11:56:27 GMT 2030
29 Set-Cookie: magic=yessir; path=/silly/; HttpOnly
41 HTTP with weirdly formatted cookies and cookiejar storage
43 # Explicitly set the time zone to a known good one, in case the user is
44 # using one of the 'right' zones that take into account leap seconds
45 # which causes the cookie expiry times to be different.
50 http://%HOSTIP:%HTTPPORT/we/want/31 -b none -c log/jar31.txt
54 # Verify data after the test has been "shot"
60 GET /we/want/31 HTTP/1.1
61 Host: %HOSTIP:%HTTPPORT
65 <file name="log/jar31.txt" mode="text">
66 # Netscape HTTP Cookie File
67 # http://curl.haxx.se/rfc/cookie_spec.html
68 # This file was generated by libcurl! Edit at your own risk.
70 .127.0.0.1 TRUE /silly/ FALSE 0 ismatch this
71 .127.0.0.1 TRUE / FALSE 0 partmatch present
72 127.0.0.1 FALSE /we/want/ FALSE 2054030187 nodomain value
73 #HttpOnly_127.0.0.1 FALSE /silly/ FALSE 0 magic yessir