> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Http.common

#### parse\_retry\_after

```python theme={"dark"}
def parse_retry_after(response_headers: Mapping[str, str]) -> Optional[int]
```

Read the `Retry-After` hint, in whole seconds, from response headers.

Both API clients surface this on `RateLimitExceededError` so callers can back off for as long
as the server asked. Only the delay-in-seconds form is understood; the HTTP-date form (and
anything else unparseable) is reported as no hint at all.
