Home | Trees | Indices | Help |
|
---|
|
object --+ | Response
|
|||
|
|||
any |
|
||
tuple |
|
||
|
|||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
tuple |
_status = None Tuple of status and reason phrase ((int, 'reason')) |
||
HeaderCollection |
headers Response header collection. |
||
callable |
write Response body writer. |
|
|||
Inherited from |
|
|
Resolve unknown attributes We're looking for special env variables inserted by the middleware stack: wtf.response.<name>. These are expected to be factories, which are lazily initialized with the response object and return the actual attribute, which is cached in the response object for further use.
|
|
Set response cookie
|
|
|
|
|
|
|
|
|
headersResponse header collection. The headers are flushed autmatically before the fist write call or the returned iterable is passed to the WSGI layer below. The headers can't be changed anymore after that (the collection object will emit a warning in case you attempt to do that)
|
writeResponse body writer. You are not forced to use it. In fact, it's recommended to not use it but return an iterator over the response body instead (as WSGI takes it)
|
Home | Trees | Indices | Help |
|
---|