1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP CONNECT
6HTTP proxy
7IPv6
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14
15<data>
16HTTP/1.1 200 OK
17Date: Thu, 09 Nov 2010 14:49:00 GMT
18Content-Length: 9
19
20mooooooo
21</data>
22
23<connect>
24HTTP/1.1 200 welcome dear
25Date: Thu, 09 Nov 2010 14:49:00 GMT
26Content-Length: 0
27
28</connect>
29
30<datacheck>
31HTTP/1.1 200 welcome dear
32Date: Thu, 09 Nov 2010 14:49:00 GMT
33Content-Length: 0
34
35HTTP/1.1 200 OK
36Date: Thu, 09 Nov 2010 14:49:00 GMT
37Content-Length: 9
38
39mooooooo
40</datacheck>
41</reply>
42
43#
44# Client-side
45<client>
46<features>
47ipv6
48</features>
49<server>
50http-proxy
51http-ipv6
52http
53</server>
54 <name>
55HTTP CONNECT to IPv6 numerical address
56 </name>
57# 0x4ce == 1230, the test number
58 <command>
59-g http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/1230 -p -x %HOSTIP:%HTTPPORT
60</command>
61</client>
62
63#
64# Verify data after the test has been "shot"
65<verify>
66<strip>
67^User-Agent:.*
68</strip>
69<protocol>
70CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
71Host: [1234:1234:1234::4ce]:%HTTPPORT
72Proxy-Connection: Keep-Alive
73
74GET /wanted/page/1230 HTTP/1.1
75Host: [1234:1234:1234::4ce]:%HTTPPORT
76Accept: */*
77
78</protocol>
79</verify>
80</testcase>
81