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