Home | Trees | Indices | Help |
|
---|
|
object --+ | Response
Response object, used to return stuff via WSGI protocol.
The Response object is a container fr the details of the response. It contains three significant members:
- status: The status code (as a string, with code and reason phrase) for the reponse.
- headers: The headers to return about the request.
- body: The body of the page to return.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
VALID_STATUS_RE = re.compile(r'[12345][0-9][0-9]')
|
|
status = property(_get_status, _set_status, doc= """The status
|
Properties | |
Inherited from |
Method Details |
Create a new Response object. The body defaults to being empty, the status defaults to "200 OK", and the content_type defaults to 'text/plain'.
|
str(x)
|
Class Variable Details |
status
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 29 00:54:09 2009 | http://epydoc.sourceforge.net |