![]() |
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 | status_code |
Public Attributes | |
environ | |
status | |
headers | |
body | |
allow_large_response | |
The state of a WSGI response while it is being processed. Instances of this class hold various attributes that make it easier to pass data from one rewriter to another. A rewriter is a function that takes a RewriterState as an argument, and possibly modifies it. Attributes: environ: An environ dict for the current request as defined in PEP-333. status: A status code and message as a string. (e.g., '200 OK'.) headers: A wsgiref.headers.Headers containing the response headers. body: An iterable of strings containing the response body. allow_large_response: A Boolean value. If True, there is no limit to the size of the response body. Defaults to False.
def google.appengine.tools.devappserver2.request_rewriter.RewriterState.__init__ | ( | self, | |
environ, | |||
status, | |||
headers, | |||
body | |||
) |
Create a new RewriterState. Args: environ: An environ dict for the current request as defined in PEP-333. status: A status code and message as a string. (e.g., '200 OK'.) headers: A list of tuples containing the response headers. body: An iterable of strings containing the response body.
def google.appengine.tools.devappserver2.request_rewriter.RewriterState.status_code | ( | self | ) |
The integer value of the response status.