Function parse_retry_after
pub fn parse_retry_after(
headers: &HeaderMap,
now: Timestamp,
) -> Option<Duration>Expand description
Parse a positive Retry-After delay, in seconds or as an HTTP date.
For a date, use the response’s Date header as the reference when valid,
and use now otherwise. Missing, ambiguous, invalid, and elapsed hints
return None.