diff options
Diffstat (limited to 'doc/libhttplib2.rst')
-rw-r--r-- | doc/libhttplib2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/libhttplib2.rst b/doc/libhttplib2.rst index b19a301..53cb746 100644 --- a/doc/libhttplib2.rst +++ b/doc/libhttplib2.rst @@ -117,6 +117,12 @@ The :mod:`httplib2` module defines the following variables: The amount of debugging information to print. The default is 0. + +.. data:: RETRIES + + A request will be tried 'RETRIES' times if it fails at the socket/connection level. + The default is 2. + The :mod:`httplib2` module may raise the following Exceptions. Note that there is an option that turns exceptions into normal responses with an HTTP status code indicating an error occured. See |