Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test197
blob39fae5e7cc17d4877e38909e43b8ad0c23f2c9b8
1 <testcase>
3 # Server-side
4 <reply>
5 <data nocheck="1">
6 HTTP/1.1 503 OK swsbounce
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Content-Length: 21
10 server not available
11 </data>
12 <data1 nocheck="1">
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Content-Length: 3
16 Connection: close
19 </data1>
21 </reply>
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29  <name>
30 HTTP GET --retry on 503 error with output to stdout
31  </name>
32  <command>
33 http://%HOSTIP:%HTTPPORT/197 --retry 1000
34 </command>
35 </client>
38 # Verify data after the test has been "shot"
39 <verify>
40 <strip>
41 ^User-Agent:.*
42 </strip>
43 <protocol>
44 GET /197 HTTP/1.1\r
45 Host: %HOSTIP:%HTTPPORT\r
46 Accept: */*\r
48 GET /197 HTTP/1.1\r
49 Host: %HOSTIP:%HTTPPORT\r
50 Accept: */*\r
52 </protocol>
54 <stdout>
55 HTTP/1.1 503 OK swsbounce
56 Date: Thu, 09 Nov 2010 14:49:00 GMT
57 Content-Length: 21
59 server not available
60 HTTP/1.1 200 OK
61 Date: Thu, 09 Nov 2010 14:49:00 GMT
62 Content-Length: 3
63 Connection: close
66 </stdout>
68 </verify>
69 </testcase>