~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/data/test550

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
FTP
 
5
CURLOPT_PROXY_TRANSFER_MODE
 
6
CURLOPT_PROXY
 
7
</keywords>
 
8
</info>
 
9
 
 
10
#
 
11
# Server-side
 
12
<reply>
 
13
<data nocheck="1">
 
14
HTTP/1.1 200 OK swsclose
 
15
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
16
Server: test-server/fake
 
17
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
 
18
ETag: "21025-dc7-39462498"
 
19
Accept-Ranges: bytes
 
20
Content-Length: 6
 
21
 
 
22
hello
 
23
</data>
 
24
</reply>
 
25
 
 
26
#
 
27
# Client-side
 
28
<client>
 
29
<server>
 
30
http
 
31
</server>
 
32
<features>
 
33
ftp
 
34
</features>
 
35
<tool>
 
36
lib549
 
37
</tool>
 
38
 <name>
 
39
FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ascii transfer
 
40
 </name>
 
41
# first URL then proxy
 
42
 <command>
 
43
ftp://www.haxx.se/moo/550 http://%HOSTIP:%HTTPPORT ascii
 
44
</command>
 
45
</client>
 
46
 
 
47
#
 
48
# Verify data after the test has been "shot"
 
49
<verify>
 
50
<strip>
 
51
^User-Agent:.*
 
52
</strip>
 
53
<protocol>
 
54
GET ftp://www.haxx.se/moo/550;type=a HTTP/1.1
 
55
Host: www.haxx.se:21
 
56
Pragma: no-cache
 
57
Accept: */*
 
58
Proxy-Connection: Keep-Alive
 
59
 
 
60
</protocol>
 
61
<stdout mode="text">
 
62
hello
 
63
</stdout>
 
64
</verify>
 
65
</testcase>