![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uWSGI
爱做呢!~
这个作者很懒,什么都没留下…
展开
-
浅谈uWSGI, uwsgi, WSGI 的区别
要注意 WSGI / uwsgi / uWSGI 这三个概念的区分。 WSGI是一种通信协议。 uwsgi是一种线路协议而不是通信协议,在此常用于在uWSGI服务器与其他网络服务器的数据通信。 而uWSGI是实现了uwsgi和WSGI两种协议的Web服务器。 WSGIWSGI是一种通信协议。WSGI 不是框架,也不是一个模块,而是介于 Web应用程序(Web框架)...原创 2018-12-12 21:17:04 · 2416 阅读 · 0 评论 -
uWSGI服务器测试
前面已经了解过WSGI / uwsgi / uWSGI 这三个概念的区分。现在测试uWSGI先新建一个test.py文件,内容如下写一个符合以下格式的函数def application(environ,start_response): start_response("200 OK",[("Content-Type","text/html")]) return [b'H...原创 2018-12-12 21:35:40 · 1223 阅读 · 0 评论