summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2013-09-05 02:32:41 -0500
committerMichael Merickel <michael@merickel.org>2013-09-05 02:42:51 -0500
commitf6f1d1685f09f1ecd3717c90e687a6e3652b4fdc (patch)
tree5f69f35eae5578c63331197d17751f671f5af405 /docs/api/request.rst
parentc41c76bf713b636a19e97b319294ecf98885d1b5 (diff)
downloadpyramid-f6f1d1685f09f1ecd3717c90e687a6e3652b4fdc.tar.gz
pyramid-f6f1d1685f09f1ecd3717c90e687a6e3652b4fdc.tar.bz2
pyramid-f6f1d1685f09f1ecd3717c90e687a6e3652b4fdc.zip
remove the deprecated request.response_* attributes
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst18
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 02290eaf3..ef41ba4c8 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -235,24 +235,6 @@
.. automethod:: resource_path
- .. attribute:: response_*
-
- In Pyramid 1.0, you could set attributes on a
- :class:`pyramid.request.Request` which influenced the behavior of
- *rendered* responses (views which use a :term:`renderer` and which
- don't directly return a response). These attributes began with
- ``response_``, such as ``response_headerlist``. If you needed to
- influence response values from a view that uses a renderer (such as the
- status code, a header, the content type, etc) you would set these
- attributes. See :ref:`response_prefixed_attrs` for further discussion.
- As of Pyramid 1.1, assignment to ``response_*`` attrs is deprecated.
- Assigning to one is still supported but will cause a deprecation
- warning to be emitted, and eventually the feature will be removed. For
- new code, instead of assigning ``response_*`` attributes to the
- request, use API of the :attr:`pyramid.request.Request.response`
- object (exposed to view code as ``request.response``) to influence
- rendered response behavior.
-
.. attribute:: json_body
This property will return the JSON-decoded variant of the request