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

chore: support proxy environment variables in network requests #519

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

wanliqun
Copy link

@wanliqun wanliqun commented Nov 30, 2024

  • Add --trust-env command line argument to enable aiohttp to respect
    http_proxy and https_proxy environment variables using monkey
    patching

Ensure `aiohttp` respects `http_proxy` and `https_proxy` environment
variables, improving compatibility with proxied networks.
@AlexCheema
Copy link
Contributor

If you need this, please make it an opt-in command line argument.

@wanliqun
Copy link
Author

wanliqun commented Dec 9, 2024

@AlexCheema That sounds a good idea, I'll handle that.

- Add `--trust-env` command line argument to enable aiohttp to respect
  `http_proxy` and `https_proxy` environment variables using monkey
  patching
@wanliqun wanliqun changed the title fix: support proxy environment variables in network requests chore: support proxy environment variables in network requests Dec 9, 2024
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