Re: [issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
On Thu, Dec 02, 2010 at 03:08:55AM +, Xuanji Li wrote: > > req = Request("http://example.com/";, "") That should be: > req = Request("http://example.com/";, b"") I updated some of those in the latest updated patch. ___ Python-bugs-list mailing li

Re: [issue3243] Support iterable bodies in httplib

2010-12-01 Thread Senthil Kumaran
On Wed, Dec 01, 2010 at 05:08:26PM +, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > if not request.has_header('Content-length'): > > if (not hasattr(data, '__read__') and > > What is __read__ supposed to be? I don't think is required. The previous 2.x version patch was d