Documentation ¶
Overview ¶
Package httputil provides useful HTTP utilities such as header parsers etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRetryAfter ¶
ParseRetryAfter tries to parse `Retry-After` value from given HTTP response. In case there are multiple `Retry-After` header values present, first parseable one is returned. In case of nil response, missing or unparseable header value a `parseError` is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.