mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
An HTTPResponse is, by its nature, readable.
This commit is contained in:
parent
6af6d264e2
commit
a7cff0230b
1 changed files with 3 additions and 0 deletions
|
@ -469,6 +469,9 @@ class HTTPResponse(io.RawIOBase):
|
|||
def flush(self):
|
||||
self.fp.flush()
|
||||
|
||||
def readable(self):
|
||||
return True
|
||||
|
||||
# End of "raw stream" methods
|
||||
|
||||
def isclosed(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue