xref: /curl/tests/data/test1046 (revision 5fb1b64f)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6--interface
7IPv6
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15HTTP/1.1 200 OK
16Date: Mon, 28 Jul 2008 14:49:00 GMT
17Server: test-server/fake
18Content-Length: 6
19Connection: close
20Content-Type: text/plain
21
22-foo-
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<features>
30IPv6
31</features>
32<server>
33http-ipv6
34</server>
35<name>
36HTTP-IPv6 GET with numeric localhost --interface
37</name>
38<command>
39-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface %CLIENT6IP-NB
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47GET /%TESTNUMBER HTTP/1.1
48Host: %HOST6IP:%HTTP6PORT
49User-Agent: curl/%VERSION
50Accept: */*
51
52</protocol>
53</verify>
54</testcase>
55