(self)
| 1308 | return True |
| 1309 | |
| 1310 | def fileno(self) -> int: |
| 1311 | if self._fp is None: |
| 1312 | raise OSError("HTTPResponse has no file to get a fileno from") |
| 1313 | elif hasattr(self._fp, "fileno"): |
| 1314 | return self._fp.fileno() |
| 1315 | else: |
| 1316 | raise OSError( |
| 1317 | "The file-like object this HTTPResponse is wrapped " |
| 1318 | "around has no file descriptor" |
| 1319 | ) |
| 1320 | |
| 1321 | def flush(self) -> None: |
| 1322 | if ( |
no outgoing calls