diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-19 02:06:36 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-19 02:06:36 -0500 |
| commit | a0535390b93d59ef77b96431df732e74240236a0 (patch) | |
| tree | 6d952807e0f7c884822a14a6cb2c7a3911541ceb /CHANGES.txt | |
| parent | 0592891ad1bfe1ec862a091e0667d1ad32d1b7fe (diff) | |
| download | pyramid-a0535390b93d59ef77b96431df732e74240236a0.tar.gz pyramid-a0535390b93d59ef77b96431df732e74240236a0.tar.bz2 pyramid-a0535390b93d59ef77b96431df732e74240236a0.zip | |
- When a ``pyramid.exceptions.Forbidden`` error is raised, its status code
now ``403 Forbidden``. It was previously ``401 Unauthorized``, for
backwards compatibility purposes with ``repoze.bfg``. This change will
cause problems for users of Pyramid with ``repoze.who``, which intercepts
``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass
through. Those deployments will need to configure ``repoze.who`` to also
react to ``403 Forbidden``.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 5142c3380..11bcaadb5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,6 +7,17 @@ Documentation - Merged caseman-master narrative editing branch, many wording fixes and extensions. +Backwards Incompatibilities +--------------------------- + +- When a ``pyramid.exceptions.Forbidden`` error is raised, its status code + now ``403 Forbidden``. It was previously ``401 Unauthorized``, for + backwards compatibility purposes with ``repoze.bfg``. This change will + cause problems for users of Pyramid with ``repoze.who``, which intercepts + ``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass + through. Those deployments will need to configure ``repoze.who`` to also + react to ``403 Forbidden``. + 1.0a10 (2011-01-18) =================== |
