diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2013-09-05 22:26:10 -0600 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2013-09-05 22:26:10 -0600 |
| commit | e8b1cf5dbb6353c0eead76996d1c002440bd6b89 (patch) | |
| tree | c33eb4eec81f288f48242ae1f272b0b896556518 /docs/api | |
| parent | 89917f6e0323777bf8fa2c94ae81c7ebf6ad7a6d (diff) | |
| parent | 027c9809ca9377b3ae37a34e4ed997d8fdfddfb8 (diff) | |
| download | pyramid-e8b1cf5dbb6353c0eead76996d1c002440bd6b89.tar.gz pyramid-e8b1cf5dbb6353c0eead76996d1c002440bd6b89.tar.bz2 pyramid-e8b1cf5dbb6353c0eead76996d1c002440bd6b89.zip | |
Merge branch 'master' into feature/split_chameleon_from_pyramid
Conflicts:
pyramid/tests/test_renderers.py
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/request.rst | 18 |
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 |
