Annotation of embedaddon/curl/tests/data/test1106, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: FTP
5: CURLOPT_PORT
6: HTTP proxy
7: </keywords>
8: </info>
9:
10: # Server-side
11: <reply>
12: <data nocheck="yes">
13: HTTP/1.1 200 OK swsclose
14: Date: Thu, 09 Nov 2010 14:49:00 GMT
15: Server: test-server/fake
16: Accept-Ranges: bytes
17: Content-Length: 6
18:
19: hello
20: </data>
21: </reply>
22:
23: # Client-side
24: <client>
25: <features>
26: ftp
27: proxy
28: </features>
29: <server>
30: http
31: </server>
32: <name>
33: FTP URL and with ftp_proxy environment variable set
34: </name>
35:
36: <setenv>
37: ftp_proxy=http://%HOSTIP:%HTTPPORT/
38: </setenv>
39: <command>
40: ftp://%HOSTIP:23456/1106
41: </command>
42:
43: </client>
44:
45: # Verify data after the test has been "shot"
46: <verify>
47: <strip>
48: ^User-Agent:.*
49: </strip>
50: <protocol>
51: GET ftp://%HOSTIP:23456/1106 HTTP/1.1
52: Host: %HOSTIP:23456
53: Accept: */*
54: Proxy-Connection: Keep-Alive
55:
56: </protocol>
57: </verify>
58: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>