From 9fd15137314f304559479c1846d930a36b0e772e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 9 Mar 2011 01:21:00 -0500 Subject: leave some breadcrumbs for finding renderered response attribute settings --- docs/api/request.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/api/request.rst') 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`. -- cgit v1.2.3