diff options
author | Christopher Baines <mail@cbaines.net> | 2015-12-22 13:47:07 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-12-22 13:48:06 +0000 |
commit | 79f51e45f74dd32f9c1a103150ded9d575f5f94c (patch) | |
tree | adcea8da78181c97b46d4483657877b2b348833a /requests/auth.py | |
parent | 59759b30c8a8f23377afe562a44ddc893dbbb833 (diff) | |
parent | 08c16e06ad11c6fcb26f4ca1ea3f11093598092f (diff) | |
download | python-requests-79f51e45f74dd32f9c1a103150ded9d575f5f94c.tar python-requests-79f51e45f74dd32f9c1a103150ded9d575f5f94c.tar.gz |
change version to 2.9.1-1 (UNRELEASED)
New upstream release 2.9.1
Diffstat (limited to 'requests/auth.py')
-rw-r--r-- | requests/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/auth.py b/requests/auth.py index 8c4e847..2af55fb 100644 --- a/requests/auth.py +++ b/requests/auth.py @@ -136,7 +136,7 @@ class HTTPDigestAuth(AuthBase): if _algorithm == 'MD5-SESS': HA1 = hash_utf8('%s:%s:%s' % (HA1, nonce, cnonce)) - if qop is None: + if not qop: respdig = KD(HA1, "%s:%s" % (nonce, HA2)) elif qop == 'auth' or 'auth' in qop.split(','): noncebit = "%s:%s:%s:%s:%s" % ( |