> ## 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.constants

#### DEFAULT\_READ\_TIMEOUT

In seconds

#### DEFAULT\_WRITE\_TIMEOUT

In seconds

#### DEFAULT\_CONNECT\_TIMEOUT

In seconds

## RequestsSettings Objects

```python theme={"dark"}
@dataclass
class RequestsSettings()
```

The settings for all outgoing network requests. These apply for each individual request.

#### max\_retries

Number of allowed retries when a request is sent. It only affects idempotent retryable requests.

#### backoff\_factor

With each retry, there will be a sleep of backoff\_factor \* (2 \*\* (retry\_number - 1) )

#### connection\_retries

Number of allowed retries to establish TCP connection when a request is sent.

#### connect\_timeout

Maximum number of seconds from connection establishment to the first byte of response received

#### read\_timeout

Maximum number of seconds to obtain full response

#### write\_timeout

Maximum number of seconds to send request payload

#### trace\_id\_provider

Function that supplies trace id for every request issued by the library. Random if not provided.
