Re: HTTP Persistent connection

2011-10-03 Thread pedr0
Because I am a newbye!!! Thanks a lot for your answer! -- http://mail.python.org/mailman/listinfo/python-list

Re: HTTP Persistent connection

2011-10-03 Thread John Gordon
In <27527508.4070.1317674357487.JavaMail.geo-discussion-forums@yqnk41> pedr0 writes: > I forget to insert second request. > host = "www.higuys.net" > #first request > http_connection = httplib.HTTPConnection(host) > http_connection.request(method,url_first,headers=headers) > response = http_con

Re: HTTP Persistent connection

2011-10-03 Thread pedr0
I forget to insert second request. host = "www.higuys.net" #first request http_connection = httplib.HTTPConnection(host) http_connection.request(method,url_first,headers=headers) response = http_connection.getresponse() #second request http_connection = httplib.HTTPConnection(host) http_connectio

HTTP Persistent connection

2011-10-03 Thread pedr0
Hi at all, I have some problem with the httplib module, I would like have an HTTP persistent connection but when run this code : #first request http_connection = httplib.HTTPConnection(host) http_connection.request(method,url,headers=headers) response = http_connection.getresponse() #second