xref: /curl/tests/data/test1230 (revision 18f1cd7a)
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: Tue, 09 Nov 2010 14:49:00 GMT
18Content-Length: 9
19
20mooooooo
21</data>
22
23<connect>
24HTTP/1.1 200 welcome dear
25Date: Tue, 09 Nov 2010 14:49:00 GMT
26
27</connect>
28
29<datacheck>
30HTTP/1.1 200 welcome dear
31Date: Tue, 09 Nov 2010 14:49:00 GMT
32
33HTTP/1.1 200 OK
34Date: Tue, 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
46proxy
47</features>
48<server>
49http-proxy
50http-ipv6
51http
52</server>
53<name>
54HTTP CONNECT to IPv6 numerical address
55</name>
56# 0x4ce == %TESTNUMBER, the test number
57<command>
58http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/%TESTNUMBER -p -x %HOSTIP:%HTTPPORT
59</command>
60</client>
61
62#
63# Verify data after the test has been "shot"
64<verify>
65<protocol>
66CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
67Host: [1234:1234:1234::4ce]:%HTTPPORT
68User-Agent: curl/%VERSION
69Proxy-Connection: Keep-Alive
70
71GET /wanted/page/%TESTNUMBER HTTP/1.1
72Host: [1234:1234:1234::4ce]:%HTTPPORT
73User-Agent: curl/%VERSION
74Accept: */*
75
76</protocol>
77</verify>
78</testcase>
79