Annotation of embedaddon/curl/tests/data/test197, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: retry
7: </keywords>
8: </info>
9: #
10: # Server-side
11: <reply>
12: <data nocheck="yes">
13: HTTP/1.1 503 OK swsbounce
14: Date: Thu, 09 Nov 2010 14:49:00 GMT
15: Content-Length: 21
16:
17: server not available
18: </data>
19: <data1 nocheck="yes">
20: HTTP/1.1 200 OK
21: Date: Thu, 09 Nov 2010 14:49:00 GMT
22: Content-Length: 3
23: Connection: close
24:
25: ok
26: </data1>
27:
28: </reply>
29:
30: #
31: # Client-side
32: <client>
33: <server>
34: http
35: </server>
36: <name>
37: HTTP GET --retry on 503 error with output to stdout
38: </name>
39: <command>
40: http://%HOSTIP:%HTTPPORT/197 --retry 1000
41: </command>
42: </client>
43:
44: #
45: # Verify data after the test has been "shot"
46: <verify>
47: <strip>
48: ^User-Agent:.*
49: </strip>
50: <protocol>
51: GET /197 HTTP/1.1
52: Host: %HOSTIP:%HTTPPORT
53: Accept: */*
54:
55: GET /197 HTTP/1.1
56: Host: %HOSTIP:%HTTPPORT
57: Accept: */*
58:
59: </protocol>
60:
61: <stdout>
62: HTTP/1.1 503 OK swsbounce
63: Date: Thu, 09 Nov 2010 14:49:00 GMT
64: Content-Length: 21
65:
66: server not available
67: HTTP/1.1 200 OK
68: Date: Thu, 09 Nov 2010 14:49:00 GMT
69: Content-Length: 3
70: Connection: close
71:
72: ok
73: </stdout>
74:
75: </verify>
76: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>