summaryrefslogtreecommitdiff
path: root/docs/narr
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 /docs/narr
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 'docs/narr')
-rw-r--r--docs/narr/hooks.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 965a4c77f..e96cd510d 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -496,9 +496,9 @@ value of ``None``.
Response callbacks are called in the order they're added
(first-to-most-recently-added). All response callbacks are called
-*before* the :class:`repoze.bfg.interfaces.INewResponse` event is
-sent. Errors raised by response callbacks are not handled specially.
-They will be propagated to the caller of the :mod:`repoze.bfg` router
+*after* the :class:`repoze.bfg.interfaces.INewResponse` event is sent.
+Errors raised by response callbacks are not handled specially. They
+will be propagated to the caller of the :mod:`repoze.bfg` router
application.
A response callback has a lifetime of a *single* request. If you want