A CGI parser to hand execution off to the WSGI application

Registered by Scott Armitage

WSGI is used as the base applicable model. Any other gateway interface (CGI, FastCGI, mod_python, etc.) needs to have a proper WSGI environment set up (i.e. environ, start_response) in order to pass code execution off to the application through the WSGI call.

This server interface *shall* support CGI. It may additionally support FastCGI, mod_python, or any other non-WSGI gateway interface.

Blueprint information

Status:
Started
Approver:
Scott Armitage
Priority:
Undefined
Drafter:
Scott Armitage
Direction:
Approved
Assignee:
PyngPyng developers
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Beta Available
Milestone target:
milestone icon 0.1
Started by
Scott Armitage

Related branches

Sprints

Whiteboard

The module server.cgi exposes the `run_wsgi(application)` function. Calling this function (and passing the WSGI application as the sole parameter) will build a WSGI environment from the existing CGI environment and call the passed application, writing the results to the server's output stream.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.