twisted.web.client - 如果http网络服务器的调用没有用HTTP响应,则getPage()无法给出响应" Connection:close"

时间:2016-06-17 04:06:39

标签: python http asynchronous twisted

我对一个Web服务器进行了getPage()调用,该服务器在HTTP标头中没有响应Connection: close。如果没有回复,我会Connection was closed cleanly失败。网络服务器已发送响应,但getPage()没有显示它

[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]

0 个答案:

没有答案