<p>我正在使用python为elgg编写REST客户机,即使请求成功,我也会得到以下响应:</p>
<pre><code>Traceback (most recent call last):
File "testclient.py", line 94, in <module>
result = sendMessage(token, h1)
File "testclient.py", line 46, in sendMessage
res = h1.getresponse().read()
File "C:\Python25\lib\httplib.py", line 918, in getresponse
raise ResponseNotReady()
httplib.ResponseNotReady
</code></pre>
<p>看标题,我看到了('content-length','5749'),所以我知道那里有一个页面,但是我不能使用.read()来查看它,因为出现了异常。responseNoteady是什么意思?为什么我看不到返回的内容?</p>