xref: /curl/tests/data/test1408 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6IPv6
7cookies
8cookiejar
9</keywords>
10</info>
11#
12# Server-side
13<reply>
14<data1>
15HTTP/1.1 200 OK
16Date: Tue, 09 Nov 2010 14:49:00 GMT
17Content-Length: 6
18Connection: close
19Content-Type: text/html
20Set-Cookie: time=1
21
22-foo-
23</data1>
24<data2>
25HTTP/1.1 200 OK
26Date: Tue, 09 Nov 2010 14:49:00 GMT
27Content-Length: 6
28Connection: close
29Content-Type: text/html
30Set-Cookie: time=2
31
32-foo-
33</data2>
34
35
36</reply>
37
38#
39# Client-side
40<client>
41<features>
42cookies
43ipv6
44</features>
45<server>
46http-ipv6
47</server>
48<name>
49HTTP receive cookies over IPV6
50</name>
51<command>
52-c %LOGDIR/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
53</command>
54</client>
55
56#
57# Verify data after the test has been "shot"
58<verify>
59<protocol>
60GET /path/%TESTNUMBER0001 HTTP/1.1
61Host: %HOST6IP:%HTTP6PORT
62User-Agent: curl/%VERSION
63Accept: */*
64
65GET /path/%TESTNUMBER0002 HTTP/1.1
66Host: %HOST6IP:%HTTP6PORT
67User-Agent: curl/%VERSION
68Accept: */*
69Cookie: time=1
70
71</protocol>
72</verify>
73</testcase>
74