diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-30 05:42:47 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-30 05:42:47 -0400 |
| commit | 360f251a1765e53a15bec53c91068880f47e503f (patch) | |
| tree | 31646cadc1aa05ee8dfacd39c2e17504ff0fdb42 /TODO.txt | |
| parent | 1794b4b17482314bfc57285a71b78fce091870c3 (diff) | |
| download | pyramid-360f251a1765e53a15bec53c91068880f47e503f.tar.gz pyramid-360f251a1765e53a15bec53c91068880f47e503f.tar.bz2 pyramid-360f251a1765e53a15bec53c91068880f47e503f.zip | |
- As of this release, the ``request_method`` predicate, when used, will also
imply that ``HEAD`` is implied when you use ``GET``. For example, using
``@view_config(request_method='GET')`` is equivalent to using
``@view_config(request_method='HEAD')``. Using
``@view_config(request_method=('GET', 'POST')`` is equivalent to using
``@view_config(request_method=('GET', 'HEAD', 'POST')``. This is because
HEAD is a variant of GET that omits the body, and WebOb has special support
to return an empty body when a HEAD is used.
Diffstat (limited to 'TODO.txt')
0 files changed, 0 insertions, 0 deletions
