Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test79
blob153014aa1ea5ced6c10895434fcccabe8b788203
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 HTTP
6 HTTP GET
7 HTTP proxy
8 </keywords>
9 </info>
11 # Server-side
12 <reply>
13 <data>
14 HTTP/1.0 200 OK
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Server: test-server/fake swsclose
17 Content-Type: text/html
18 Funny-head: yesyes
20 contents
21 </data>
22 </reply>
25 # Client-side
26 <client>
27 <server>
28 http
29 </server>
30 <features>
31 ftp
32 </features>
33  <name>
34 FTP over HTTP proxy
35  </name>
36  <command>
37 ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
38 </command>
39 </client>
42 # Verify data after the test has been "shot"
43 <verify>
44 <strip>
45 ^User-Agent:.*
46 </strip>
47 <protocol>
48 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1
49 Host: %HOSTIP:%HTTPPORT
50 Pragma: no-cache
51 Accept: */*
52 Proxy-Connection: Keep-Alive
54 </protocol>
55 </verify>
56 </testcase>