[issue3243] Support iterable bodies in httplib

Antoine Pitrou report at bugs.python.org
Tue Nov 30 17:10:27 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> - Lets have the ValueError raised from the urllib/request.py. Changing
> it to isinstance(data,collections.Iterable) as Antoine suggested is
> okay here too.

Xuanji is right: it's not. We want bytes to be accepted, and it's an
iterable.

----------

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


More information about the Python-bugs-list mailing list