Re: httplib.ResponseNotReady question

2006-11-13 Thread Max
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? > >

Re: httplib.ResponseNotReady question

2006-11-13 Thread Fredrik Lundh
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 r

httplib.ResponseNotReady question

2006-11-13 Thread Max
Hi, Group. I'm not a Python programmer so this question may be really basic or stupid. :) I have some code that sends a simple request to an end-point and reads the response. That works just fine. When I put the code in a for loop though I get httplib.ResponseNotReady error message. It seems t