summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 13b434a51..d17441c0a 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -113,3 +113,24 @@
request, the value of this attribute will be ``None``. See
:ref:`matched_route`.
+ .. automethod:: add_response_callback
+
+ .. automethod:: add_finished_callback
+
+ .. automethod:: route_url
+
+ .. automethod:: route_path
+
+ .. automethod:: resource_url
+
+ .. 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`.