Close the response and release the connection. Automatically called if the response body is read to completion.
(self)
| 342 | return self.http_response.json() |
| 343 | |
| 344 | def close(self) -> None: |
| 345 | """Close the response and release the connection. |
| 346 | |
| 347 | Automatically called if the response body is read to completion. |
| 348 | """ |
| 349 | self.http_response.close() |
| 350 | |
| 351 | def iter_bytes(self, chunk_size: int | None = None) -> Iterator[bytes]: |
| 352 | """ |