[issue3243] Support iterable bodies in httplib
report at bugs.python.org
Fri Dec 5 17:43:45 CET 2008
Chris AtLee <chris at atlee.ca> added the comment:
The attached patch implements this for python 2.7. It also adds support
for iterable bodies in urllib2, where it is more generally useful.
urllib2 enforces the presence of a Content-Length header in the request
if the body is an iterable, whereas httplib does not.
The patch also includes updates to docs and tests (which all pass as of
r67584 on my macbook)
Added file: http://bugs.python.org/file12241/python-3243.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list