Skip to content
Myr

hax

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 9427e1e · Browse files · 1 file+3 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:requests/auth.py+3 added
18 unmodified lines
1920if is_py2:21 from oauthlib.oauth1.rfc5849 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER)22 from oauthlib.common import extract_params23else:24 SIGNATURE_HMAC = None25 SIGNATURE_TYPE_AUTH_HEADER = None2627def _basic_auth_str(username, password):28 """Returns a Basic Auth string."""29
154 unmodified lines