diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-09-14 04:35:50 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-09-14 04:35:50 +0000 |
| commit | 52048e72740a7548e18ab2ef2f8ba371cecdd6ed (patch) | |
| tree | 0f3a783b2235c8b4d26aaed33ed5241fd55ee0d2 | |
| parent | 04e182bbc0c077afcd921f0df4231020549dc217 (diff) | |
| download | pyramid-52048e72740a7548e18ab2ef2f8ba371cecdd6ed.tar.gz pyramid-52048e72740a7548e18ab2ef2f8ba371cecdd6ed.tar.bz2 pyramid-52048e72740a7548e18ab2ef2f8ba371cecdd6ed.zip | |
Renderings.
| -rw-r--r-- | docs/narr/views.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 794c36d20..24afca0bd 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -608,27 +608,27 @@ response returned to the user separate from any template rendering. Page callables should set these values into the dictionary they return to influence response attributes. -content_type_ +``content_type_`` Defines the content-type of the resulting response, e.g. ``text/xml``. -headerlist_ +``headerlist_`` A sequence of tuples describing cookie values that should be set in the response, e.g. ``[('Set-Cookie', 'abc=123'), ('X-My-Header', 'foo')]``. -status_ +``status_`` A WSGI-style status code (e.g. ``200 OK``) describing the status of the response. -charset_ +``charset_`` The character set (e.g. ``UTF-8``) of the response. -cache_for_ +``cache_for_`` A value in seconds which will influence ``Cache-Control`` and ``Expires`` headers in the returned response. The same can also be |
