P
pedr0
Hi at all,
I don't understand why, in this piece of code, i catch the
raise ResponseNotReady(self.__state)
http.client.ResponseNotReady: Request-sent
EVERY time I run this piece of code:
#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()
#second request
http_connection.request("GET", "/","",headers=headers_)
r2 = http_connection.getresponse()
Someone can help me ?
I don't understand why, in this piece of code, i catch the
raise ResponseNotReady(self.__state)
http.client.ResponseNotReady: Request-sent
EVERY time I run this piece of code:
#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()
#second request
http_connection.request("GET", "/","",headers=headers_)
r2 = http_connection.getresponse()
Someone can help me ?