Skip to content

Support http_proxy / https_proxy vars #2492

@ocervell

Description

@ocervell

curl supports automatically setting proxy based on env vars http_proxy / https_proxy (works in upper case HTTP_PROXY / HTTPS_PROXY): https://everything.curl.dev/usingcurl/proxies/env.html

I think this would be a nice addition to httpx instead of having to systematically pass -proxy (which would override the env var if passed of course) ?

Metadata

Metadata

Assignees

Labels

Type: EnhancementMost issues will probably ask for additions or changes.
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions