diff options
| author | Chris McDonough <chrism@plope.com> | 2013-09-05 23:48:27 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-09-05 23:48:27 -0400 |
| commit | ef5596c5e3de01afd1405e87f06de1f9867b4c86 (patch) | |
| tree | 31fbc643e633bc7490eac913eed43fbd7962b10b /docs/api/request.rst | |
| parent | 13b1871878932091e56b01bb27eef7033521a83f (diff) | |
| parent | f6f1d1685f09f1ecd3717c90e687a6e3652b4fdc (diff) | |
| download | pyramid-ef5596c5e3de01afd1405e87f06de1f9867b4c86.tar.gz pyramid-ef5596c5e3de01afd1405e87f06de1f9867b4c86.tar.bz2 pyramid-ef5596c5e3de01afd1405e87f06de1f9867b4c86.zip | |
Merge branch 'fix.remove-deprecated-request-attrs'
Diffstat (limited to 'docs/api/request.rst')
| -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 |
