Curated from: en.wikipedia.org
Ideas, facts & insights covering these topics:
5 ideas
·182 reads
4
Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
WSGI stands for Web Server Gateway Interface and represents a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language. The current version of WSGI, version 1.0.1, is specified in Python Enhancement Proposal (PEP) 3333.
5
138 reads
The WSGI has two sides:
Between the server and the application, there may be one or more WSGI middleware components, which implement both sides of the API, typically in Python code.
WSGI does not specify how the Python interpreter should be started, nor how the application object should be loaded or configured, and different frameworks and webservers achieve this in different ways.
4
12 reads
A WSGI middleware component is a Python callable that is itself a WSGI application, but may handle requests by delegating to other WSGI applications. These applications can themselves be WSGI middleware components.
A middleware component can perform such functions as:
4
9 reads
A traditional web server does not understand or have any way to run Python applications.
Therefore the Python community came up with WSGI as a standard interface that modules and containers could implement. WSGI is now the accepted approach for running Python web applications.
As shown in the above diagram, a WSGI server simply invokes a callable object on the WSGI application as defined by the PEP 3333 standard.
Some examples of WSGI servers are: Green Unicorn, uWSGI, mod_wsgi and CherryPy.
4
11 reads
Why use WSGI and not just point a web server directly at an application?
4
12 reads
IDEAS CURATED BY
Similar ideas
9 ideas
What is REST?
en.wikipedia.org
3 ideas
Introducing Sanic: The Python Asynchoronous Web Framework
mausamadh.medium.com
5 ideas
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates