[issue3243] Support iterable bodies in httplib

Xuanji Li report at bugs.python.org
Sun Dec 19 13:24:34 CET 2010


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

Hello, sorry for commenting on a closed issue... but I think the documentation change is incorrect. In urllib.request.rst, it says data is a string. However as seen in the changes to test_urllib2.py, data must be a bytes object rather than a string object. I think we should reopen this issue and change the documentation.

Thanks!

----------

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


More information about the Python-bugs-list mailing list