xref: /curl/tests/data/test3010 (revision 77ae8f26)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP Basic
6RETRY-AFTER
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 301 Moved Permanently
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Content-Type: text/html
17Content-Length: 0
18Retry-After: 2
19Location: /%TESTNUMBER0002
20
21</data>
22<data2>
23HTTP/1.1 200 OK
24Date: Tue, 09 Nov 2010 14:49:00 GMT
25Server: test-server/fake
26Content-Type: text/html
27Content-Length: 0
28
29</data2>
30</reply>
31
32# Client-side
33<client>
34<server>
35http
36</server>
37
38<name>
39HTTP retry-after reset
40</name>
41<tool>
42lib%TESTNUMBER
43</tool>
44
45<command>
46%HOSTIP:%HTTPPORT/%TESTNUMBER
47</command>
48</client>
49
50# Verify data after the test has been "shot"
51<verify>
52<stdout>
53Retry-After 2
54Retry-After 0
55</stdout>
56</verify>
57</testcase>
58