summaryrefslogtreecommitdiff
path: root/repoze/bfg/request.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-09-13 08:58:52 +0000
committerChris McDonough <chrism@agendaless.com>2010-09-13 08:58:52 +0000
commitc9ac82b2c06f431a1a2aaca9db7d0a129f91db07 (patch)
tree9795cb55b2b359692bb16fd34d6edb58c1cf1f6d /repoze/bfg/request.py
parentb847e0b4030ab6797ed8d996d133d1d8068aba83 (diff)
downloadpyramid-c9ac82b2c06f431a1a2aaca9db7d0a129f91db07.tar.gz
pyramid-c9ac82b2c06f431a1a2aaca9db7d0a129f91db07.tar.bz2
pyramid-c9ac82b2c06f431a1a2aaca9db7d0a129f91db07.zip
- Call response callbacks *after* INewResponse event.
- Rearrange router logic so that start_response is not called until there is no chance of an exception occurring.
Diffstat (limited to 'repoze/bfg/request.py')
-rw-r--r--repoze/bfg/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py
index 6a7ce14ac..0e764b34a 100644
--- a/repoze/bfg/request.py
+++ b/repoze/bfg/request.py
@@ -68,7 +68,7 @@ class Request(WebobRequest):
called if an exception happens in application code, or if the
response object returned by :term:`view` code is invalid.
- All response callbacks are called *before* the
+ All response callbacks are called *after* the
:class:`repoze.bfg.interfaces.INewResponse` event is sent.
Errors raised by callbacks are not handled specially. They