Chris McDonough
2011-07-04 b78effb723e5a6b2f3980dac7830f8932abd7890
refs
author Chris McDonough <chrism@plope.com>
Monday, July 4, 2011 09:58 +0200
committer Chris McDonough <chrism@plope.com>
Monday, July 4, 2011 09:58 +0200
commitb78effb723e5a6b2f3980dac7830f8932abd7890
tree dd4bcabdab8db65e8b19fc21b4e9ac655c9a4cef tree | zip | gz
parent 0fa1993d2abe87e197374f6abd3e45e62afb8a19 view | diff
- New request attribute: ``json``. If the request's ``content_type`` is
``application/json``, this attribute will contain the JSON-decoded
variant of the request body. If the request's ``content_type`` is not
``application/json``, this attribute will be ``None``.
5 files modified
44 ■■■■■ changed files
CHANGES.txt 5 ●●●●● diff | view | raw | blame | history
docs/api/request.rst 7 ●●●●● diff | view | raw | blame | history
docs/whatsnew-1.1.rst 5 ●●●●● diff | view | raw | blame | history
pyramid/request.py 7 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_request.py 20 ●●●●● diff | view | raw | blame | history