summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-13 14:58:52 -0400
committerChris McDonough <chrism@plope.com>2011-08-13 14:58:52 -0400
commit85093dba5ad0b606d8998e3708e4581901cf6dcc (patch)
treefe8ac7645d040f1df3c37c132ca04bc22fe46f3b /CHANGES.txt
parent157c29002377b65834a960fd2d59c40bdd43f417 (diff)
downloadpyramid-85093dba5ad0b606d8998e3708e4581901cf6dcc.tar.gz
pyramid-85093dba5ad0b606d8998e3708e4581901cf6dcc.tar.bz2
pyramid-85093dba5ad0b606d8998e3708e4581901cf6dcc.zip
- WSGIHTTPException (HTTPFound, HTTPNotFound, etc) now has a new API named
"prepare" which renders the body and content type when it is provided with a WSGI environ. Required for debug toolbar. - Once ``__call__`` or ``prepare`` is called on a WSGIHTTPException, the body will be set, and subsequent calls to ``__call__`` will always return the same body. Delete the body attribute to rerender the exception body.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 995e64e0c..8a14a82de 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -58,6 +58,14 @@ Internal
- The Pyramid "exception view" machinery is now implemented as a "tween"
(``pyramid.tweens.excview_tween_factory``).
+- WSGIHTTPException (HTTPFound, HTTPNotFound, etc) now has a new API named
+ "prepare" which renders the body and content type when it is provided with
+ a WSGI environ. Required for debug toolbar.
+
+- Once ``__call__`` or ``prepare`` is called on a WSGIHTTPException, the body
+ will be set, and subsequent calls to ``__call__`` will always return the
+ same body. Delete the body attribute to rerender the exception body.
+
Deprecations
------------