shouldn env_proxy
affect after proxy that provided by users from code
#10025
Labels
env_proxy
affect after proxy that provided by users from code
#10025
Is your feature request related to a problem?
aiohttp/aiohttp/client.py
Lines 502 to 507 in e79b2d5
aiohttp/aiohttp/client.py
Lines 609 to 617 in e79b2d5
currently, the
async def _request(...)
get env proxy
fromenv and registry
in each request(aka _request()) call.Describe the solution you'd like
keep
env proxy
in session, and use aftercode proxy
that provided by usersalso should throw error for
socks5
proxy since aiohttp does not work withsocks5
currentlyDescribe alternatives you've considered
N/A
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: