1<testcase>
2<info>
3<keywords>
4FTP
5HTTP
6CURLOPT_USERPWD
7HTTP proxy
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14HTTP/1.0 200 OK swsclose
15Date: Thu, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17
18blablabla
19
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28<features>
29ftp
30</features>
31 <name>
32FTP over HTTP proxy with user:pass not in url
33 </name>
34 <command>
35-x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/299
36</command>
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<strip>
42^User-Agent:.*
43</strip>
44<protocol>
45GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1
46Host: host.com:21
47Authorization: Basic bWljaGFsOmF5YmFidHU=
48Accept: */*
49Proxy-Connection: Keep-Alive
50
51</protocol>
52</verify>
53</testcase>
54