Skip to content
Myr

Initialize hash_utf8 to None, preventing NameError. Fixes #3138.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Mark Shannon · committed by Mark Shannon · parent 252bfa7 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/auth.py+1 added
91 unmodified lines
92 nonce = self._thread_local.chal['nonce']93 qop = self._thread_local.chal.get('qop')94 algorithm = self._thread_local.chal.get('algorithm')95 opaque = self._thread_local.chal.get('opaque')96 hash_utf8 = None9798 if algorithm is None:99 _algorithm = 'MD5'100 else:
142 unmodified lines