Skip to content

feat: support http_proxy/https_proxy env vars in std.http.Client#755

Merged
DonPrus merged 3 commits intonullclaw:mainfrom
juvenn:http-proxy-support
Apr 17, 2026
Merged

feat: support http_proxy/https_proxy env vars in std.http.Client#755
DonPrus merged 3 commits intonullclaw:mainfrom
juvenn:http-proxy-support

Conversation

@juvenn
Copy link
Copy Markdown
Contributor

@juvenn juvenn commented Mar 31, 2026

Support proxy in std.http.Client to align with curl calls.

Test it with

export HTTPS_PROXY=http://127.0.0.1:7891
nullclaw agent -m "hello"

juvenn added 2 commits April 1, 2026 11:12
… sites

All direct std.http.Client call sites now call initDefaultProxies() to
pick up standard proxy env vars (http_proxy, HTTP_PROXY, https_proxy,
HTTPS_PROXY, all_proxy, ALL_PROXY). Proxy init failures fall back to
direct connection silently via catch {}.
@juvenn juvenn force-pushed the http-proxy-support branch from dfb294a to 0859efb Compare April 1, 2026 03:12
@DonPrus DonPrus merged commit 6a8a14b into nullclaw:main Apr 17, 2026
3 checks passed
@juvenn juvenn deleted the http-proxy-support branch April 17, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants