mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-24 05:21:17 +00:00
54a4ac5469
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@85 67975925-1194-0748-b3d5-c16f83f1a3a1
65 lines
1.7 KiB
Text
65 lines
1.7 KiB
Text
# 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
|
|
Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 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
|
|
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<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
|
|
</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, */*
|
|
Cookie: mooo=indeed
|
|
|
|
</protocol>
|
|
<file name="log/jar46">
|
|
# Netscape HTTP Cookie File
|
|
# http://www.netscape.com/newsref/std/cookie_spec.html
|
|
# This file was generated by libcurl! Edit at 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 1262322000 ckyPersistent permanent
|
|
127.0.0.1 FALSE / FALSE 0 ckySession temporary
|
|
127.0.0.1 FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE
|
|
</file>
|
|
</verify>
|