这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(dockerfile): Use proxy env vars in aiohttp client requests #7260

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

inbalavital
Copy link
Contributor

@inbalavital inbalavital commented Jul 24, 2025

Moved all aiohttp requests to an existed wrapper.
Extended the wrapper to support different methods, get url as a URL type as well as str, and changed payload to optional (for GET requests).
In the wrapper, added usage of proxy env vars in order to avoid a bug a customer faced where its configured proxy env vars weren't in use in certain requests (the ones that were made using aiohttp lib).

Copy link
Contributor

@omriyoffe-panw omriyoffe-panw left a comment

Choose a reason for hiding this comment

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

Did you decide not to wrap it in an env var?

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