diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-12 03:31:08 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-12 03:31:08 -0400 |
| commit | f9896b60700ea4334f3df0a83f9b291e167b322d (patch) | |
| tree | e4bb26952fd2472c9b4e2590637ed25331a2a241 /docs/narr | |
| parent | 7cf06765c863ec73adccc73cefcf7630b2020f21 (diff) | |
| download | pyramid-f9896b60700ea4334f3df0a83f9b291e167b322d.tar.gz pyramid-f9896b60700ea4334f3df0a83f9b291e167b322d.tar.bz2 pyramid-f9896b60700ea4334f3df0a83f9b291e167b322d.zip | |
reviewed
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/hooks.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 94701c9f9..a156426ae 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -284,8 +284,8 @@ Using Response Callbacks Unlike many other web frameworks, :app:`Pyramid` does not eagerly create a global response object. Adding a :term:`response callback` allows an -application to register an action to be performed against a response object -once it is created, usually in order to mutate it. +application to register an action to be performed against whatever response +object is returned by a view, usually in order to mutate the response. The :meth:`pyramid.request.Request.add_response_callback` method is used to register a response callback. |
