Debian Codegraph @

curl/tests/data/test79

raw
1 <info>
2 <keywords>
3 FTP
4 HTTP
5 HTTP GET
6 HTTP proxy
7 </keywords>
8 </info>
9 #
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake swsclose
16 Content-Type: text/html
17 Funny-head: yesyes
18
19 contents
20 </data>
21 </reply>
22
23 #
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29 <name>
30 FTP over HTTP proxy
31 </name>
32 <command>
33 ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT
34 </command>
35 </client>
36
37 #
38 # Verify data after the test has been "shot"
39 <verify>
40 <strip>
41 ^User-Agent:.*
42 </strip>
43 <protocol>
44 GET ftp://127.0.0.1:%HTTPPORT/we/want/that/page/79 HTTP/1.1
45 Host: 127.0.0.1:%HTTPPORT
46 Pragma: no-cache
47 Accept: */*
48 Proxy-Connection: Keep-Alive
49
50 </protocol>
51 </verify>