ken wrote:
> i.e. how long python will wait for a response in the below code?
>
>h = httplib.HTTP(self.url, 8080)
> h.putrequest('GET', '/sample/?url=' + self.url)
> h.endheaders()
For ever.
In Py<=2.5, httplib.HTTP doesn't have a timeout, so you have to do
something like:
ken <[EMAIL PROTECTED]> wrote:
> Can you please tell me what is the timeout value of httplib.HTTP?
>
> i.e. how long python will wait for a response in the below code?
>
>h = httplib.HTTP(self.url, 8080)
> h.putrequest('GET', '/sample/?url=' + self.url)
> h.endheaders()
HTTP