• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
30proxy
31</features>
32 <name>
33FTP over HTTP proxy with user:pass not in url
34 </name>
35 <command>
36-x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/299
37</command>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1
44Host: host.com:21
45Authorization: Basic bWljaGFsOmF5YmFidHU=
46User-Agent: curl/%VERSION
47Accept: */*
48Proxy-Connection: Keep-Alive
49
50</protocol>
51</verify>
52</testcase>
53