Skip to content

Commit 7ee72f7

Browse files
authored
update for aiohttp 3.6 (#18715)
1 parent 260a029 commit 7ee72f7

File tree

1 file changed

+2
-2
lines changed
  • sdk/core/azure-core/azure/core/pipeline/transport

1 file changed

+2
-2
lines changed

sdk/core/azure-core/azure/core/pipeline/transport/_aiohttp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ async def send(self, request: HttpRequest, **config: Any) -> Optional[AsyncHttpR
153153
try:
154154
auto_decompress = self.session.auto_decompress # type: ignore
155155
except AttributeError:
156-
# auto_decompress is introduced in Python 3.7. We need this to handle Python 3.6.
157-
auto_decompress = True
156+
# auto_decompress is introduced in aiohttp 3.7. We need this to handle Python 3.6.
157+
auto_decompress = False
158158

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

0 commit comments

Comments
 (0)