xref: /curl/tests/data/test242 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6IPv6
7HTTP Basic auth
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Content-Length: 6
17Connection: close
18
19hello
20</data>
21</reply>
22
23#
24# Client-side
25<client>
26<features>
27ipv6
28</features>
29<server>
30http-ipv6
31</server>
32<name>
33HTTP-IPv6 GET with username+password in URL
34</name>
35<command>
36-g "http://foobar:barfoo@%HOST6IP:%HTTP6PORT/%TESTNUMBER"
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44GET /%TESTNUMBER HTTP/1.1
45Host: %HOST6IP:%HTTP6PORT
46Authorization: Basic Zm9vYmFyOmJhcmZvbw==
47User-Agent: curl/%VERSION
48Accept: */*
49
50</protocol>
51</verify>
52</testcase>
53