Debian Codegraph @

curl/tests/data/test242

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