Reads a Retry-After header as a delay in milliseconds.
Both forms in the specification are accepted: delta-seconds, and an
HTTP-date, which is turned into a delay by subtracting now. A missing,
malformed or already-past value is undefined, because a header nobody can
parse should not become a wait nobody asked for.
Reads a
Retry-Afterheader as a delay in milliseconds.Both forms in the specification are accepted: delta-seconds, and an HTTP-date, which is turned into a delay by subtracting
now. A missing, malformed or already-past value isundefined, because a header nobody can parse should not become a wait nobody asked for.