![]() |
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 | __eq__ |
def | __repr__ |
Public Attributes | |
relative_url | |
path | |
headers | |
infile | |
force_admin | |
Static Public Attributes | |
list | ATTRIBUTES |
Encapsulates app-server request. Object used to hold a full appserver request. Used as a container that is passed through the request forward chain and ultimately sent to the URLDispatcher instances. Attributes: relative_url: String containing the URL accessed. path: Local path of the resource that was matched; back-references will be replaced by values matched in the relative_url. Path may be relative or absolute, depending on the resource being served (e.g., static files will have an absolute path; scripts will be relative). headers: Instance of mimetools.Message with headers from the request. infile: File-like object with input data from the request. force_admin: Allow request admin-only URLs to proceed regardless of whether user is logged in or is an admin.
def google.appengine.tools.old_dev_appserver.AppServerRequest.__init__ | ( | self, | |
relative_url, | |||
path, | |||
headers, | |||
infile, | |||
force_admin = False |
|||
) |
Constructor. Args: relative_url: Mapped directly to attribute. path: Mapped directly to attribute. headers: Mapped directly to attribute. infile: Mapped directly to attribute. force_admin: Mapped directly to attribute.
def google.appengine.tools.old_dev_appserver.AppServerRequest.__eq__ | ( | self, | |
other | |||
) |
Used mainly for testing. Returns: True if all fields of both requests are equal, else False.
def google.appengine.tools.old_dev_appserver.AppServerRequest.__repr__ | ( | self | ) |
String representation of request. Used mainly for testing. Returns: String representation of AppServerRequest. Strings of different request objects that have the same values for all fields compare as equal.
|
static |