Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1092
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 HTTP
6 HTTP GET
7 HTTP proxy
8 type=
9 </keywords>
10 </info>
11 #
12 # Server-side
13 <reply>
14 <data>
15 HTTP/1.0 200 OK
16 Date: Thu, 09 Nov 2010 14:49:00 GMT
17 Server: test-server/fake swsclose
18 Content-Type: text/html
19 Funny-head: yesyes
20
21 contents
22 </data>
23 </reply>
24
25 #
26 # Client-side
27 <client>
28 <server>
29 http
30 </server>
31 <features>
32 ftp
33 </features>
34  <name>
35 FTP with type=i over HTTP proxy
36  </name>
37  <command>
38 "ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i" --use-ascii -x %HOSTIP:%HTTPPORT
39 </command>
40 </client>
41
42 #
43 # Verify data after the test has been "shot"
44 <verify>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <protocol>
49 GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1
50 Host: %HOSTIP:%HTTPPORT
51 Accept: */*
52 Proxy-Connection: Keep-Alive
53
54 </protocol>
55 </verify>
56 </testcase>