Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test1059
blob81063b3d3339c407a6795ef9a9019679e2e2391c
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP CONNECT
6 proxytunnel
7 FTP
8 FAILURE
9 </keywords>
11 </info>
13 # Server-side
14 <reply>
15 <data>
16 HTTP/1.1 501 Method not implemented swsclose
17 Date: Thu, 09 Nov 2010 14:49:00 GMT
18 Connection: close
19 Content-Length: 0
21 </data>
22 </reply>
25 # Client-side
26 <client>
27 <features>
28 ftp
29 </features>
30 <server>
31 http
32 </server>
33  <name>
34 HTTP CONNECT with proxytunnel to unsupported FTP URL
35  </name>
36  <command>
37 ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT
38 </command>
39 </client>
42 # Verify data after the test has been "shot"
43 <verify>
44 # The server doesn't implement CONNECT for ftp, so this must be a failure test
45 <errorcode>
47 </errorcode>
48 <strip>
49 ^User-Agent:.*
50 </strip>
51 <protocol>
52 CONNECT test-number:1059 HTTP/1.0
53 Host: test-number:1059
54 Proxy-Connection: Keep-Alive
56 </protocol>
57 </verify>
58 </testcase>