草庐IT

ResponseNotReady

全部标签

Python httplib ResponseNotReady

我正在使用python为elgg编写一个REST客户端,即使请求成功,我也会得到以下响应:Traceback(mostrecentcalllast):File"testclient.py",line94,inresult=sendMessage(token,h1)File"testclient.py",line46,insendMessageres=h1.getresponse().read()File"C:\Python25\lib\httplib.py",line918,ingetresponseraiseResponseNotReady()httplib.ResponseNotR