Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/core/azure-core/azure/core/pipeline/transport/_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ async def send(self, request: HttpRequest, **config: Any) -> Optional[AsyncHttpR
try:
auto_decompress = self.session.auto_decompress # type: ignore
except AttributeError:
# auto_decompress is introduced in Python 3.7. We need this to handle Python 3.6.
auto_decompress = True
# auto_decompress is introduced in aiohttp 3.7. We need this to handle Python 3.6.
auto_decompress = False

proxies = config.pop('proxies', None)
if proxies and 'proxy' not in config:
Expand Down