WSGI and CGI
The App Engine standard Python runtime supports both WSGI and CGI. These are standard gateway interfaces that specify how a web server should interact with Python services. Web Server Gateway Interface (WSGI) implementations, interact with Python at the application level by associating requests with a Python module function. Common Gateway Interface (CGI) implementations invoke Python scripts on a per-request basis, generally spawning an individual process for each request that executes the associated script.
App Engine handler scripts must either conform to WSGI or CGI standards. To associate an WSGI application to an App Engine handler, specify the application in Python module notation. For CGI compliant scripts, specify the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access