removed junk
[platform/upstream/curl.git] / tests / data / test503
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Date: Thu, 09 Nov 2010 14:49:00 GMT
6 Server: test-server/fake
7 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
8 ETag: "21025-dc7-39462498"
9
10 </data>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 http
17 </server>
18 # tool is what to use instead of 'curl'
19 <tool>
20 lib503
21 </tool>
22
23  <name>
24 simple multi https:// through proxy with authentication info
25  </name>
26  <command>
27 http://%HOSTIP:%HTTPSPORT/503 localhost:%HOSTPORT
28 </command>
29 <file name="log/test502.txt">
30 foo
31    bar
32 bar
33    foo
34 moo
35 </file>
36 </client>
37
38 # Verify data after the test has been "shot"
39 <verify>
40 <protocol>
41 CONNECT 127.0.0.1:8433 HTTP/1.0\r
42 Proxy-authorization: Basic dGVzdDppbmc=\r
43 \r
44 GET /503 HTTP/1.1\r
45 Proxy-authorization: Basic dGVzdDppbmc=\r
46 Authorization: Basic dGVzdDppbmc=\r
47 Host: 127.0.0.1:8433\r
48 Pragma: no-cache\r
49 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
50 \r
51 </protocol>
52 </verify>