2001-09-26 11:06:00 +04:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
Server: Microsoft-IIS/4.0
|
|
|
|
Date: Tue, 25 Sep 2001 19:37:44 GMT
|
|
|
|
Content-Type: text/html
|
2002-02-26 16:38:12 +03:00
|
|
|
Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path=/
|
2001-09-26 11:06:00 +04:00
|
|
|
Set-Cookie: ckySession=temporary; path=/
|
|
|
|
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
|
2003-08-11 14:12:35 +04:00
|
|
|
Set-Cookie: justaname=; path=/;
|
2001-09-26 11:06:00 +04:00
|
|
|
Cache-control: private
|
2003-07-20 03:57:08 +04:00
|
|
|
Content-Length: 62
|
2001-09-26 11:06:00 +04:00
|
|
|
|
|
|
|
This server reply is for testing a simple Location: following
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 00:25:39 +04:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2001-09-26 11:06:00 +04:00
|
|
|
<name>
|
|
|
|
HTTP, get cookies and store in cookie jar
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
%HOSTIP:%HOSTPORT/want/46 -c log/jar46 -b log/injar46
|
|
|
|
</command>
|
|
|
|
<file name="log/injar46">
|
|
|
|
# Netscape HTTP Cookie File
|
|
|
|
# http://www.netscape.com/newsref/std/cookie_spec.html
|
|
|
|
# This is generated by libcurl! Do not edit.
|
|
|
|
|
|
|
|
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
|
|
|
|
www.loser.com FALSE / FALSE 1139150993 UID 99
|
|
|
|
127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
|
2003-08-11 14:12:35 +04:00
|
|
|
127.0.0.1 FALSE / FALSE 0 empty
|
2001-09-26 11:06:00 +04:00
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET /want/46 HTTP/1.1
|
|
|
|
Host: 127.0.0.1:8999
|
|
|
|
Pragma: no-cache
|
|
|
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
2003-08-11 14:12:35 +04:00
|
|
|
Cookie: empty=; mooo=indeed
|
2001-09-26 11:06:00 +04:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
<file name="log/jar46">
|
|
|
|
# Netscape HTTP Cookie File
|
|
|
|
# http://www.netscape.com/newsref/std/cookie_spec.html
|
2001-10-08 15:07:06 +04:00
|
|
|
# This file was generated by libcurl! Edit at your own risk.
|
2001-09-26 11:06:00 +04:00
|
|
|
|
|
|
|
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
|
|
|
|
www.loser.com FALSE / FALSE 1139150993 UID 99
|
|
|
|
127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
|
2003-08-11 14:12:35 +04:00
|
|
|
127.0.0.1 FALSE / FALSE 0 empty
|
2002-02-27 10:41:46 +03:00
|
|
|
127.0.0.1 FALSE / FALSE 1262322000 ckyPersistent permanent
|
2001-09-26 11:06:00 +04:00
|
|
|
127.0.0.1 FALSE / FALSE 0 ckySession temporary
|
|
|
|
127.0.0.1 FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE
|
2003-08-11 14:12:35 +04:00
|
|
|
127.0.0.1 FALSE / FALSE 0 justaname
|
2001-09-26 11:06:00 +04:00
|
|
|
</file>
|
|
|
|
</verify>
|