diff options
| author | Chris McDonough <chrism@plope.com> | 2011-03-09 01:21:00 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-03-09 01:21:00 -0500 |
| commit | 9fd15137314f304559479c1846d930a36b0e772e (patch) | |
| tree | 0064ed4031c4e8d27f817bed73582adab82bf6b0 /docs/api/request.rst | |
| parent | 82e3e3e97a4e778d8e8555e72a9bfe9ce509e3e3 (diff) | |
| download | pyramid-9fd15137314f304559479c1846d930a36b0e772e.tar.gz pyramid-9fd15137314f304559479c1846d930a36b0e772e.tar.bz2 pyramid-9fd15137314f304559479c1846d930a36b0e772e.zip | |
leave some breadcrumbs for finding renderered response attribute settings
Diffstat (limited to 'docs/api/request.rst')
| -rw-r--r-- | docs/api/request.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst index 912634b62..d17441c0a 100644 --- a/docs/api/request.rst +++ b/docs/api/request.rst @@ -125,3 +125,12 @@ .. automethod:: static_url + .. attribute:: response_* + + You can set attributes on a :class:`pyramid.request.Request` which will + influence the behavor of *rendered* responses (views which use a + :term:`renderer` and which don't directly return a response). These + attributes begin with ``response_``, such as ``response_headerlist``. If + you need to influence response values from a view that uses a renderer + (such as the status code, a header, the content type, etc) see, + :ref:`response_request_attrs`. |
