We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843861c commit 1517738Copy full SHA for 1517738
python-ecosys/aiohttp/aiohttp/__init__.py
@@ -42,7 +42,9 @@ def _decode(self, data):
42
return data
43
44
async def read(self, sz=-1):
45
- return self._decode(await (self.content.read(sz) if sz == -1 else self.content.readexactly(sz)))
+ return self._decode(
46
+ await (self.content.read(sz) if sz == -1 else self.content.readexactly(sz))
47
+ )
48
49
async def text(self, encoding="utf-8"):
50
return (await self.read(int(self._get_header("content-length", -1)))).decode(encoding)
0 commit comments