add query data to digest path

This commit is contained in:
Kenneth Reitz
2011-11-07 14:18:05 -05:00
parent 7ce305fa89
commit 12fa108ede
+2 -1
View File
@@ -67,7 +67,8 @@ def http_digest(r, username, password):
# XXX not implemented yet
entdig = None
path = urlparse(r.request.url).path
p_parsed = urlparse(r.request.url)
path = p_parsed.path + p_parsed.query
A1 = "%s:%s:%s" % (username, realm, password)
A2 = "%s:%s" % (r.request.method, path)