2007-01-23 03:25:56 +01:00
|
|
|
<testcase>
|
2005-04-22 23:59:08 +02:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2007-10-12 03:44:22 +02:00
|
|
|
cookies
|
2005-04-22 23:59:08 +02:00
|
|
|
cookiejar
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-05 00:57:58 +02:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK swsclose
|
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
|
|
Content-Type: text/html
|
|
|
|
Set-Cookie: IPCZQX01af0fca5c=000010008168c200d25dfc4b; path=/; domain=.NOT_DISCLOSED.se
|
2006-11-25 14:32:04 +01:00
|
|
|
Content-Length: 4
|
2003-08-05 00:57:58 +02:00
|
|
|
|
|
|
|
boo
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP, receive cookies when using custom Host:, domain using only two dots
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 10:08:38 +02:00
|
|
|
http://%HOSTIP:%HTTPPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se"
|
2003-08-05 00:57:58 +02:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET /we/want/73 HTTP/1.1
|
2004-02-09 13:46:41 +01:00
|
|
|
Accept: */*
|
2003-08-05 00:57:58 +02:00
|
|
|
Host: host.NOT_DISCLOSED.se
|
|
|
|
|
|
|
|
</protocol>
|
2007-01-23 03:25:56 +01:00
|
|
|
<file name="log/jar73.txt" mode="text">
|
2003-08-05 00:57:58 +02:00
|
|
|
# Netscape HTTP Cookie File
|
2008-08-28 13:35:54 +02:00
|
|
|
# http://curl.haxx.se/rfc/cookie_spec.html
|
2003-08-05 00:57:58 +02:00
|
|
|
# This file was generated by libcurl! Edit at your own risk.
|
|
|
|
|
|
|
|
.NOT_DISCLOSED.se TRUE / FALSE 0 IPCZQX01af0fca5c 000010008168c200d25dfc4b
|
|
|
|
</file>
|
|
|
|
</verify>
|
2007-01-23 03:25:56 +01:00
|
|
|
</testcase>
|