Read and return the response content.
(self)
| 874 | self.stream = UnattachedStream() |
| 875 | |
| 876 | def read(self) -> bytes: |
| 877 | class="st">""" |
| 878 | Read and return the response content. |
| 879 | class="st">""" |
| 880 | if not hasattr(self, class="st">"_content"): |
| 881 | self._content = bclass="st">"".join(self.iter_bytes()) |
| 882 | return self._content |
| 883 | |
| 884 | def iter_bytes(self, chunk_size: int | None = None) -> typing.Iterator[bytes]: |
| 885 | class="st">""" |