Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test523
blob0459d2caf166e34da5f4c993f1161937d77d1319
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 CURLOPT_PORT
7 CURLOPT_PROXY
8 </keywords>
9 </info>
12 # Server-side
13 <reply>
14 <data nocheck="1">
15 HTTP/1.1 200 OK swsclose
16 Date: Thu, 09 Nov 2010 14:49:00 GMT
17 Server: test-server/fake
18 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
19 ETag: "21025-dc7-39462498"
20 Accept-Ranges: bytes
21 Content-Length: 6
23 hello
24 </data>
25 </reply>
28 # Client-side
29 <client>
30 <server>
31 http
32 </server>
33 <tool>
34 lib523
35 </tool>
36  <name>
37 HTTP GET with proxy and CURLOPT_PORT
38  </name>
39 # first URL then proxy
40  <command>
41 http://www.haxx.se:999/523 http://%HOSTIP:%HTTPPORT 
42 </command>
43 </client>
46 # Verify data after the test has been "shot"
47 <verify>
48 <strip>
49 ^User-Agent:.*
50 </strip>
51 <protocol>
52 GET http://www.haxx.se:19999/523 HTTP/1.1\r
53 Authorization: Basic eHh4Onl5eQ==\r
54 Host: www.haxx.se:19999\r
55 Pragma: no-cache\r
56 Accept: */*\r
57 Proxy-Connection: Keep-Alive\r
59 </protocol>
60 <stdout mode="text">
61 hello
62 </stdout>
63 </verify>
64 </testcase>