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 /docs/authorintro.rst | |
| 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 'docs/authorintro.rst')
0 files changed, 0 insertions, 0 deletions
