From c910b958f0694a5e5e7a517cf5b9bdec5f2fef03 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 18 Dec 2011 19:18:16 -0500 Subject: [PATCH] quotes --- requests/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests/auth.py b/requests/auth.py index 5b429ed..4af3d6d 100644 --- a/requests/auth.py +++ b/requests/auth.py @@ -88,8 +88,8 @@ class HTTPDigestAuth(AuthBase): p_parsed = urlparse(r.request.url) path = p_parsed.path + p_parsed.query - A1 = "%s:%s:%s" % (self.username, realm, self.password) - A2 = "%s:%s" % (r.request.method, path) + A1 = '%s:%s:%s' % (self.username, realm, self.password) + A2 = '%s:%s' % (r.request.method, path) if qop == 'auth': if nonce == last_nonce: -- 2.7.4