mirror of
https://github.com/curl/curl.git
synced 2026-08-10 08:10:53 +03:00
CURLINFO_RETRY_AFTER: parse the Retry-After header value
This is only the libcurl part that provides the information. There's no user of the parsed value. This change includes three new tests for the parser. Ref: #3794
This commit is contained in:
parent
2bdb26a507
commit
f933449d3b
14 changed files with 317 additions and 6 deletions
|
|
@ -2623,8 +2623,9 @@ typedef enum {
|
|||
CURLINFO_STARTTRANSFER_TIME_T = CURLINFO_OFF_T + 54,
|
||||
CURLINFO_REDIRECT_TIME_T = CURLINFO_OFF_T + 55,
|
||||
CURLINFO_APPCONNECT_TIME_T = CURLINFO_OFF_T + 56,
|
||||
CURLINFO_RETRY_AFTER = CURLINFO_OFF_T + 57,
|
||||
|
||||
CURLINFO_LASTONE = 56
|
||||
CURLINFO_LASTONE = 57
|
||||
} CURLINFO;
|
||||
|
||||
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue