blob: d4f40f72e9c7cf0a22cb8b8c1316c6021305f8a2 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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>
42ipv6
43</features>
44<server>
45http-ipv6
46</server>
47 <name>
48HTTP receive cookies over IPV6
49 </name>
50 <command>
51-c log/jar%TESTNUMBER -g http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0001 http://%HOST6IP:%HTTP6PORT/path/%TESTNUMBER0002
52</command>
53</client>
54
55#
56# Verify data after the test has been "shot"
57<verify>
58<protocol>
59GET /path/%TESTNUMBER0001 HTTP/1.1
60Host: %HOST6IP:%HTTP6PORT
61User-Agent: curl/%VERSION
62Accept: */*
63
64GET /path/%TESTNUMBER0002 HTTP/1.1
65Host: %HOST6IP:%HTTP6PORT
66User-Agent: curl/%VERSION
67Accept: */*
68Cookie: time=1
69
70</protocol>
71</verify>
72</testcase>