xref: /curl/tests/data/test1596 (revision 75391045)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP replaced headers
7CURLOPT_TIMECONDITION
8If-Modified-Since
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data nocheck="yes">
15HTTP/1.1 429 Too Many Requests
16Date: Thu, 11 Jul 2019 02:26:59 GMT
17Server: test-server/swsclose
18Retry-After: Thu, 11 Jul 2024 02:26:59 GMT
19
20</data>
21</reply>
22# Client-side
23<client>
24<server>
25http
26</server>
27<name>
28HTTP Retry-After header parsing using a date
29</name>
30<tool>
31lib%TESTNUMBER
32</tool>
33<command>
34http://%HOSTIP:%HTTPPORT/%TESTNUMBER
35</command>
36</client>
37
38<verify>
39<protocol>
40GET /%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42Accept: */*
43
44</protocol>
45<stdout>
46Retry-After 172066
47</stdout>
48</verify>
49</testcase>
50