[issue12327] in HTTPConnection the are len(body) and TypeError catch exception to detect if body is file like object, this hack do work with StringIO object

R. David Murray report at bugs.python.org
Mon Jun 13 22:42:21 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

But if the len information is available, why not return it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12327>
_______________________________________


More information about the Python-bugs-list mailing list