Skip to content

Commit eb34596

Browse files
committed
add flag to trust system proxy if set
1 parent 2718133 commit eb34596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cterasdk/clients/async_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, configuration):
2121
@property
2222
def session(self):
2323
if self.closed:
24-
self._session = aiohttp.ClientSession(**from_configuration(self._configuration))
24+
self._session = aiohttp.ClientSession(**from_configuration(self._configuration), trust_env=True)
2525
self._cookie_jar.register(self._session)
2626
self._cookie_jar.update_cookie_jar()
2727
return self._session

0 commit comments

Comments
 (0)