main
1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3import httpx
4
5RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
6OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
7
8# default timeout is 10 minutes
9DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
10DEFAULT_MAX_RETRIES = 2
11DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=1000, max_keepalive_connections=100)
12
13INITIAL_RETRY_DELAY = 0.5
14MAX_RETRY_DELAY = 8.0