Permalink
Please sign in to comment.
Browse files
* ``Response.request`` and ``Response.environ`` attrs are undeprecate…
…d and no longer raise exceptions when used. These can also be passed to the Response constructor. This is to support codebases that pass them to the constructor or assign them to a response instance. However, some behavior differences from 1.1 exist. In particular, synchronization is no longer done between environ and request attribute properties of Response; you may pass either to the constructor (or both) or assign one or the other or both, but they wont be managed specially and will remain the same over the lifetime of the response just as you passed them. Default values for both ``request`` and ``environ`` on any given response are ``None`` now.
- Loading branch information...
Showing
with
20 additions
and 16 deletions.
- +10 −4 docs/news.txt
- +8 −6 tests/test_descriptors.py
- +2 −6 webob/response.py
0 comments on commit
627593b