![]() |
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 | set_status |
def | has_error |
def | clear |
Public Attributes | |
out | |
headers | |
status | |
status_message | |
Mocks out webapp.Response. Public Members: out: A StringIO instance. status: HTTP status code. message: HTTP status message. headers: A dict of HTTP response headers.
def google.appengine.ext.webapp.mock_webapp.MockResponse.clear | ( | self | ) |
Clears all data written to self.out.
def google.appengine.ext.webapp.mock_webapp.MockResponse.has_error | ( | self | ) |
Indicates whether the response was an error response.
def google.appengine.ext.webapp.mock_webapp.MockResponse.set_status | ( | self, | |
status, | |||
message = None |
|||
) |
Sets the value of status. Args: status: HTTP status code. message: HTTP status message.