如何制作python的内置http.sever服务器代理wsgi请求

2024-07-03 01:58:41 发布

您现在位置:Python中文网/ 问答频道 /正文

我的应用程序https://github.com/Leo-G/Flask-Scaffold,前端使用angularjs/html,后端使用flask。我用nginx和uwsgi为他们服务。然而,我想知道是否有任何python模块可以用于它们的开发/测试/演示目的,我知道我可以使用http.server但是对于任何烧瓶/wsgi请求,我该怎么说呢http.server将其代理到运行在另一个端口上的uwsgi或flask的内置服务器?你知道吗


Tags: 模块httpsgithubcom应用程序httpflaskserver