This commit is contained in:
Kenneth Reitz
2011-12-18 19:18:16 -05:00
parent 6ce4ece8aa
commit c910b958f0
+2 -2
View File
@@ -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: