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)對接起來。
相關文章
相關標籤/搜索