mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
Pass algorithm parameter to H()
This fixes error 500 on digest-auth test with qop='auth-int' (#307)
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ def HA2(credentails, request, algorithm):
|
||||
raise ValueError("%s required" % k)
|
||||
return H("%s:%s:%s" % (request['method'],
|
||||
request['uri'],
|
||||
H(request['body'])), algorithm)
|
||||
H(request['body'], algorithm)), algorithm)
|
||||
raise ValueError
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user