diff options
Diffstat (limited to 'doc/libhttplib2.rst')
-rw-r--r-- | doc/libhttplib2.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/libhttplib2.rst b/doc/libhttplib2.rst index 53cb746..fc72bbf 100644 --- a/doc/libhttplib2.rst +++ b/doc/libhttplib2.rst @@ -307,6 +307,15 @@ Http Objects 'follow_redirects' must be True. +.. attribute:: Http.forward_authorization_headers + + If ``False``, which is the default, then Authorization: headers are + stripped from redirects. If ``True`` then Authorization: headers are left + in place when following redirects. This parameter only applies if following + redirects is turned on. Note that turning this on could cause your credentials + to leak, so carefully consider the consequences. + + .. attribute:: Http.force_exception_to_status_code If ``True`` then no :mod:`httplib2` exceptions will be |