Message16926
Logged In: YES
user_id=261020
HTTPResponse.read returns '' if its .fp is None, but the
backwards-compat HTTP class' .getfile() just returns self.file,
which it previously grabbed from HTTPResponse in .getreply().
Wild guess: maybe HTTP.getreply should just do
self.file = response
rather than
self.file = response.fp
The object returned by HTTP.getfile() was documented as
returning an object supporting .readline() and .readlines(),
while HTTPResponse only supports .read(), so that's obviously
not the whole solution.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:14:42 | admin | link | issue767111 messages |
2007-08-23 14:14:42 | admin | create | |
|