From 9efdb68035b84dda158ca786d78c56a11d46c9fa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 26 Sep 2001 07:06:00 +0000 Subject: Added test 46, cookie jar functionality --- tests/data/test46 | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 tests/data/test46 (limited to 'tests/data/test46') diff --git a/tests/data/test46 b/tests/data/test46 new file mode 100644 index 000000000..c975e2d0e --- /dev/null +++ b/tests/data/test46 @@ -0,0 +1,62 @@ +# Server-side + + +HTTP/1.1 200 OK +Server: Microsoft-IIS/4.0 +Date: Tue, 25 Sep 2001 19:37:44 GMT +Content-Type: text/html +Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2002 05:00:00 GMT; path=/ +Set-Cookie: ckySession=temporary; path=/ +Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/ +Cache-control: private + +This server reply is for testing a simple Location: following + + + + +# Client-side + + +HTTP, get cookies and store in cookie jar + + +%HOSTIP:%HOSTPORT/want/46 -c log/jar46 -b 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 + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +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, */* +Cookie: mooo=indeed + + + +# Netscape HTTP Cookie File +# http://www.netscape.com/newsref/std/cookie_spec.html +# This is generated by libcurl! Edit on your own risk. + +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 +127.0.0.1 FALSE / FALSE 1009861200 ckyPersistent permanent +127.0.0.1 FALSE / FALSE 0 ckySession temporary +127.0.0.1 FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE + + -- cgit v1.2.3