Skip to content
Myr

missed an import

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 661af1d · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/auth.py+1 added-1 removed
10 unmodified lines
11import hashlib1213from base64 import b64encode1415from oauthlib.common import extract_params15from .compat import urlparse, str, is_py216from .utils import randombytes, parse_dict_header1718CONTENT_TYPE_FORM_URLENCODED = 'application/x-www-form-urlencoded'1920if is_py2:21 from oauthlib.oauth1.rfc5849 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER)22 from oauthlib.common import extract_params2324def _basic_auth_str(username, password):25 """Returns a Basic Auth string."""26
154 unmodified lines