(self)
| 252 | yield b"" |
| 253 | |
| 254 | async def body(self) -> bytes: |
| 255 | if not hasattr(self, "_body"): |
| 256 | chunks: list[bytes] = [] |
| 257 | async for chunk in self.stream(): |
| 258 | chunks.append(chunk) |
| 259 | self._body = b"".join(chunks) |
| 260 | return self._body |
| 261 | |
| 262 | async def json(self) -> Any: |
| 263 | if not hasattr(self, "_json"): # pragma: no branch |