summaryrefslogtreecommitdiff
path: root/pecan/hooks.py
diff options
context:
space:
mode:
authorAlfredo Deza <alfredodeza@gmail.com>2011-06-26 13:02:37 -0400
committerAlfredo Deza <alfredodeza@gmail.com>2011-06-26 13:02:37 -0400
commit73c43fc30de06a29ae996fa00f93d7ca8748ef12 (patch)
tree646eae396a1ce40fd8cba7ac4a4e0f2d291d9b3c /pecan/hooks.py
parentc979ac8e61876234fc76f432a9395629c65bc01f (diff)
downloadpecan-73c43fc30de06a29ae996fa00f93d7ca8748ef12.tar.gz
Add documentation for RequestViewerHook
Diffstat (limited to 'pecan/hooks.py')
-rw-r--r--pecan/hooks.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pecan/hooks.py b/pecan/hooks.py
index 2918ea6..1fd3f64 100644
--- a/pecan/hooks.py
+++ b/pecan/hooks.py
@@ -182,10 +182,10 @@ class RequestViewerHook(PecanHook):
Valid items are *any* item that the ``request`` object holds, by default it uses
the following:
- * url
+ * path
+ * status
* method
- * response
- * context
+ * controller
* params
* hooks
@@ -206,6 +206,7 @@ class RequestViewerHook(PecanHook):
.. :note::
This key should always use a ``list`` of items to use.
+ For more detailed documentation about this hook, please see :ref:`requestviewerhook`
'''
available = ['path', 'status', 'method', 'controller', 'params', 'hooks']