Dispatcher that executes Python CGI scripts.
def google.appengine.tools.old_dev_appserver.CGIDispatcher.__init__ |
( |
|
self, |
|
|
|
config, |
|
|
|
module_dict, |
|
|
|
root_path, |
|
|
|
path_adjuster, |
|
|
|
setup_env = SetupEnvironment , |
|
|
|
exec_cgi = ExecuteCGI |
|
) |
| |
Initializer.
Args:
config: AppInfoExternal instance representing the parsed app.yaml file.
module_dict: Dictionary in which application-loaded modules should be
preserved between requests. This dictionary must be separate from the
sys.modules dictionary.
path_adjuster: Instance of PathAdjuster to use for finding absolute
paths of CGI files on disk.
setup_env, exec_cgi: Used for dependency injection.
def google.appengine.tools.old_dev_appserver.CGIDispatcher.__str__ |
( |
|
self | ) |
|
Returns a string representation of this dispatcher.
def google.appengine.tools.old_dev_appserver.CGIDispatcher.Dispatch |
( |
|
self, |
|
|
|
request, |
|
|
|
outfile, |
|
|
|
base_env_dict = None |
|
) |
| |
Dispatches the Python CGI.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/old_dev_appserver.py