| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
HTTP |
| 4 |
HTTP GET |
| 5 |
cookiejar |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
# Server-side |
| 9 |
<reply> |
| 10 |
<data> |
| 11 |
HTTP/1.1 200 OK swsclose |
| 12 |
Date: Thu, 09 Nov 2010 14:49:00 GMT |
| 13 |
Content-Type: text/html |
| 14 |
Set-Cookie: IPCZQX01af0fca5c=000010008168c200d25dfc4b; path=/; domain=.NOT_DISCLOSED.se |
| 15 |
|
| 16 |
boo |
| 17 |
</data> |
| 18 |
</reply> |
| 19 |
|
| 20 |
# Client-side |
| 21 |
<client> |
| 22 |
<server> |
| 23 |
http |
| 24 |
</server> |
| 25 |
<name> |
| 26 |
HTTP, receive cookies when using custom Host:, domain using only two dots |
| 27 |
</name> |
| 28 |
<command> |
| 29 |
http://%HOSTIP:%HTTPPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se" |
| 30 |
</command> |
| 31 |
</client> |
| 32 |
|
| 33 |
# Verify data after the test has been "shot" |
| 34 |
<verify> |
| 35 |
<strip> |
| 36 |
^User-Agent:.* |
| 37 |
</strip> |
| 38 |
<protocol> |
| 39 |
GET /we/want/73 HTTP/1.1 |
| 40 |
Accept: */* |
| 41 |
Host: host.NOT_DISCLOSED.se |
| 42 |
|
| 43 |
</protocol> |
| 44 |
<file name="log/jar73.txt"> |
| 45 |
# Netscape HTTP Cookie File |
| 46 |
# http://www.netscape.com/newsref/std/cookie_spec.html |
| 47 |
# This file was generated by libcurl! Edit at your own risk. |
| 48 |
|
| 49 |
.NOT_DISCLOSED.se TRUE / FALSE 0 IPCZQX01af0fca5c 000010008168c200d25dfc4b |
| 50 |
</file> |
| 51 |
</verify> |