[issue3243] Support iterable bodies in httplib

Xuanji Li report at bugs.python.org
Mon Nov 29 16:53:48 CET 2010


Xuanji Li <xuanji at gmail.com> added the comment:

Changed according to Raymond's suggestion. I realized that there are some classes (str, bytes, array.array) that are iterable but should not be handled by the iteration logic provided by catlee. eg: if we iterate through b'a message' we'd get a bunch of ints and sending them is wrong. patch attached.

----------
Added file: http://bugs.python.org/file19873/issue_3243_py3k_2.patch

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


More information about the Python-bugs-list mailing list