mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
parent
30e50de53e
commit
75391045cf
@ -43,7 +43,7 @@ Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout>
|
||||
Retry-After: 22
|
||||
Retry-After 22
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -42,7 +42,7 @@ Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout>
|
||||
Retry-After: 0
|
||||
Retry-After 0
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -43,7 +43,7 @@ Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout>
|
||||
Retry-After: 172066
|
||||
Retry-After 172066
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -5,7 +5,7 @@
|
||||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
@ -53,7 +53,7 @@ int test(char *URL)
|
||||
retry += time(NULL);
|
||||
retry /= 10000;
|
||||
#endif
|
||||
printf("Retry-After: %" CURL_FORMAT_CURL_OFF_T "\n", retry);
|
||||
printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry);
|
||||
|
||||
test_cleanup:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user