Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto detect proxy from environments #649

Merged
merged 2 commits into from
Sep 30, 2023
Merged

Auto detect proxy from environments #649

merged 2 commits into from
Sep 30, 2023

Conversation

dojiong
Copy link

@dojiong dojiong commented Aug 11, 2023

solve #322

Just like reqwest, auto detect proxy from ALL_PROXY/HTTPS_PROXY/HTTP_PROXY reqwest::proxy.rs

Add AgentBuilder::no_proxy if someone don't want to use system's proxy

);
None
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this. Nice!

src/agent.rs Show resolved Hide resolved
Boshen pushed a commit to oxc-project/oxc that referenced this pull request Aug 15, 2023
detect `HTTP_PROXY/HTTPS_PROXY/ALL_PROXY` environments automatically,
since visiting https://raw.githubusercontent.com sometimes need proxy,
upstream PR
[algesten/ureq#649](algesten/ureq#649)
@algesten algesten merged commit a3bf7f0 into algesten:main Sep 30, 2023
28 of 29 checks passed
@algesten
Copy link
Owner

Thanks for the work in this PR!

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.

None yet

3 participants