From a0535390b93d59ef77b96431df732e74240236a0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 19 Jan 2011 02:06:36 -0500 Subject: - 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``. --- TODO.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index bcc7ae2e3..12eed59da 100644 --- a/TODO.txt +++ b/TODO.txt @@ -18,9 +18,6 @@ Must-Have (before 1.0) - Explain how to use i18n localization in Mako and Jinja2. -- Turn Forbidden status code into a 403 (it's currently a 401, which is for - bw compat, but is misleading). - - Fix too-long template lines in tutorials for PDF renderings. - Allow ``pyramid.security.remember`` to accept a list of tokens for use when -- cgit v1.2.3