Hi solved this problem, I have to add:


#connection
http_connection = http.client.HTTPConnection('www.xxx.net',80,timeout=60)
#first request
http_connection.request("POST", "/",params,headers=headers_)
r1 = http_connection.getresponse()
r1.read()  // THIS ONE
#second request
http_connection.request("GET", "/","",headers=headers_)
r2 = http_connection.getresponse()


Someone know if this is a bug ?

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to