Skip to content

Conversation

@kevinchiu
Copy link

Automatically use urllib3.ProxyManager when HTTPS_PROXY/HTTP_PROXY environment variables are set.

Enables the client to work in proxy-required environments (corporate networks, CI/CD, sandboxed dev environments) without code changes. Follows the same convention as the requests library.

Fully backward compatible - uses PoolManager when no proxy vars are set.

When HTTPS_PROXY, https_proxy, HTTP_PROXY, or http_proxy environment variables are set, use urllib3.ProxyManager instead of PoolManager. This enables the client to work in environments that require proxy configuration, such as corporate networks, CI/CD pipelines, and sandboxed development environments. The behavior is backward compatible - when no proxy environment variables are set, PoolManager is used as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant