适用于Python的WSGI较差 糟糕的WSGI for Python是轻量级的WGI连接器,在WSGI服务器和您的应用程序之间存在uri路由。 运行和测试它的最简单方法如下所示: from wsgiref . simple_server import make_server from poorwsgi import Application app = Application ( 'test' ) @ app . route ( '/test' ) def root_uri ( req ): return 'Hello world' if __name__ == '__main__' : httpd = make_server ( '127.0.0.1' , 8080 , app ) httpd . serve_forever () 您可以使用python ws