From 5ba43d0fe5ff5b1705e94ae1b7f2abfe744c56d4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 17 Aug 2011 00:16:57 -0400 Subject: [PATCH] hook plans --- requests/hooks.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/requests/hooks.py b/requests/hooks.py index 7e9f23a..272dc07 100644 --- a/requests/hooks.py +++ b/requests/hooks.py @@ -5,6 +5,21 @@ requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. + +Available hooks: + +``args``: + A dictionary of the arguments being sent to Request(). + +``pre-request``: + The Request object, directly before being sent. + +``post-request``: + The Request object, directly after being sent. + +``response``: + The response generated from a Request. + """ import warnings -- 2.7.4