示例python twisted事件驱动的Web应用程序递增请求数量为2,为什么?

示例python twisted事件驱动的Web应用程序递增请求数量为2,为什么?

由 http://twistedmatrix.com/trac/给出的基本Web服务器的示例代码似乎为每个请求将请求计数器递增2,而不是1. 代码: from twisted.web import server, resourcefrom twisted.internet import reactorclass HelloResource(resource.Resource): is

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部