httplib.ResponseNotReady question

Max Google at Bodoin.com
Mon Nov 13 13:34:50 EST 2006


Fredrik Lundh wrote:
> Max wrote:
>
> > If I run this with loops=1 then everything works fine.  If I use a
> > number greater than 1 then I get the error.  Is there a method call
> > that I need to restore the requestor object to a condition where it's
> > eligible to receive another response?
>
> I'm pretty sure that to get a new response from the server, you need to
> make a new request.
>
> </F>

I think you are right.  I found a note in the documentation that says
the connection is good for one transaction.

Thanks, Max




More information about the Python-list mailing list