From 9a30e02962ef2bb0a8bd5ce6db28f423a9b4b896 Mon Sep 17 00:00:00 2001 From: Marty Alchin Date: Wed, 13 Jun 2012 20:54:54 -0700 Subject: [PATCH] Make sure OAuth doesn't fall off, which happens in particular when encountering redirects --- requests/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/auth.py b/requests/auth.py index cb851d2c..314f7934 100644 --- a/requests/auth.py +++ b/requests/auth.py @@ -105,7 +105,7 @@ class OAuth1(AuthBase): del r.headers[u_header] r.headers['Authorization'] = auth_header - return r + return r class HTTPBasicAuth(AuthBase):