WEB - WSGI

传送门

  1. https://www.zhihu.com/question/19998865/answer/26203965
  2. https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface
  3. https://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386832689740b04430a98f614b6da89da2157ea3efe2000
  4. https://www.python.org/dev/peps/pep-0333/

概念

  1. WSGI是一个接口规范;如果服务器支持WSGI,Python的WEB APP支持WSGI,那么这个WEB APP可以运行在这个服务器上。
  2. WSGI is the Web Server Gateway Interface. It is a specification that describes how a web server communicates with web applications, and how web applications can be chained together to process one request.
  3. WSGI是一个规范,只是一个规范,定义了Web服务器如何与Python应用程序进行交互,使得使用Python写的Web应用程序可以和Web服务器(nginx/apache)对接起来。

猜你喜欢

转载自www.cnblogs.com/allen2333/p/9230870.html