diff options
| author | Michael Merickel <michael@merickel.org> | 2012-05-03 00:11:50 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2012-05-03 00:11:50 -0500 |
| commit | c1c2b6ad8e22f9cba291de8903edfa4c7c741dca (patch) | |
| tree | c3bfa436eafa3903af04a4f4f3750a7ddb216830 /CHANGES.txt | |
| parent | c3df7a76fa9f92201fbf57693b580b8904fac038 (diff) | |
| parent | 004882434aa166a58c3b2148322e08ce61ec4cb7 (diff) | |
| download | pyramid-c1c2b6ad8e22f9cba291de8903edfa4c7c741dca.tar.gz pyramid-c1c2b6ad8e22f9cba291de8903edfa4c7c741dca.tar.bz2 pyramid-c1c2b6ad8e22f9cba291de8903edfa4c7c741dca.zip | |
Merge branch 'master' into feature.json-api
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 337754162..34d60090d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,7 +9,6 @@ Bug Fixes return the empty list. This was incorrect, it should have unconditionally returned ``[Everyone]``, and now does. - Features -------- @@ -21,7 +20,7 @@ Features - 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', '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 @@ -29,3 +28,13 @@ Features - ``config.set_request_property`` now causes less code to be executed at request construction time. + +- Don't add a ``?`` to URLs generated by request.resource_url if the + ``query`` argument is provided but empty. + +- Don't add a ``?`` to URLs generated by request.route_url if the + ``_query`` argument is provided but empty. + +- The static view machinery now raises (rather than returns) ``HTTPNotFound`` + and ``HTTPMovedPermanently`` exceptions, so these can be caught by the + NotFound view (and other exception views). |
