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