[Python-checkins] r70935 - python/branches/py3k/Lib/http/client.py
jeremy.hylton
python-checkins at python.org
Wed Apr 1 04:35:57 CEST 2009
Author: jeremy.hylton
Date: Wed Apr 1 04:35:56 2009
New Revision: 70935
Log:
An HTTPResponse is, by its nature, readable.
Modified:
python/branches/py3k/Lib/http/client.py
Modified: python/branches/py3k/Lib/http/client.py
==============================================================================
--- python/branches/py3k/Lib/http/client.py (original)
+++ python/branches/py3k/Lib/http/client.py Wed Apr 1 04:35:56 2009
@@ -469,6 +469,9 @@
def flush(self):
self.fp.flush()
+ def readable(self):
+ return True
+
# End of "raw stream" methods
def isclosed(self):
More information about the Python-checkins
mailing list