summaryrefslogtreecommitdiff
path: root/TODO.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-06-19 20:19:27 -0400
committerChris McDonough <chrism@plope.com>2011-06-19 20:19:27 -0400
commitd0a5f0654e0468f9d50a4c1b98f9d316253ad64d (patch)
tree705c0bb9e5401093274b5b1b4bdedd755537317e /TODO.txt
parentc8289eaadb144dbc743b40e61318ae39b6f504f2 (diff)
downloadpyramid-d0a5f0654e0468f9d50a4c1b98f9d316253ad64d.tar.gz
pyramid-d0a5f0654e0468f9d50a4c1b98f9d316253ad64d.tar.bz2
pyramid-d0a5f0654e0468f9d50a4c1b98f9d316253ad64d.zip
- Base exception response content type again on accept header.
- The ``pyramid.httpexceptions`` classes named ``HTTPFound``, ``HTTPMultipleChoices``, ``HTTPMovedPermanently``, ``HTTPSeeOther``, ``HTTPUseProxy``, and ``HTTPTemporaryRedirect`` now accept ``location`` as their first positional argument rather than ``detail``. This means that you can do, e.g. ``return pyramid.httpexceptions.HTTPFound('http://foo')`` rather than ``return pyramid.httpexceptions.HTTPFound(location='http//foo')`` (the latter will of course continue to work).
Diffstat (limited to 'TODO.txt')
-rw-r--r--TODO.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/TODO.txt b/TODO.txt
index fb72d42b5..f24b49263 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,6 +4,8 @@ Pyramid TODOs
Must-Have
---------
+- Grep for IExceptionResponse, forgot what it does.
+
- Copy exception templates from webob.exc into pyramid.httpexceptions and
ensure they all work.