Skip to content

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?

@inbalavital
Copy link
Contributor Author

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

@omriyoffe-panw yes, because I added a standard proxy support, and not used the entire env vars configurations.
We have this kind of support in other libraries as well without env var wrapping.

@inbalavital inbalavital merged commit c9071d7 into main Jul 28, 2025
46 checks passed
@inbalavital inbalavital deleted the bugfix/aiohttp_with_proxy_env_vars branch July 28, 2025 07:44
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.

4 participants