![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | Dispatch |
def | __str__ |
![]() | |
def | Dispatch |
def | EndRedirect |
Static Public Member Functions | |
def | CreateEtag |
Dispatcher that reads data files from disk.
def google.appengine.tools.old_dev_appserver.FileDispatcher.__init__ | ( | self, | |
config, | |||
path_adjuster, | |||
static_file_config_matcher, | |||
read_data_file = ReadDataFile |
|||
) |
Initializer. Args: config: AppInfoExternal instance representing the parsed app.yaml file. path_adjuster: Instance of PathAdjuster to use for finding absolute paths of data files on disk. static_file_config_matcher: StaticFileConfigMatcher object. read_data_file: Used for dependency injection.
def google.appengine.tools.old_dev_appserver.FileDispatcher.__str__ | ( | self | ) |
Returns a string representation of this dispatcher.
|
static |
Returns string of hash of file content, unique per URL.
def google.appengine.tools.old_dev_appserver.FileDispatcher.Dispatch | ( | self, | |
request, | |||
outfile, | |||
base_env_dict = None |
|||
) |
Reads the file and returns the response status and data.