What is the timeout value of HTTP

ken ken.carlino at gmail.com
Thu Mar 29 11:23:00 EDT 2007


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()

Thank you.




More information about the Python-list mailing list