module documentation

requests.auth ~~~~~~~~~~~~~ This module contains the authentication handlers for Requests.

Class AuthBase Base class that all auth implementations derive from
Class HTTPBasicAuth Attaches HTTP Basic Authentication to the given Request object.
Class HTTPDigestAuth Attaches HTTP Digest Authentication to the given Request object.
Class HTTPProxyAuth Attaches HTTP Proxy Authentication to a given Request object.
Constant CONTENT_TYPE_FORM_URLENCODED Undocumented
Constant CONTENT_TYPE_MULTI_PART Undocumented
Function _basic_auth_str Returns a Basic Auth string.
CONTENT_TYPE_FORM_URLENCODED: str = (source)

Undocumented

Value
'application/x-www-form-urlencoded'
CONTENT_TYPE_MULTI_PART: str = (source)

Undocumented

Value
'multipart/form-data'
def _basic_auth_str(username, password): (source)

Returns a Basic Auth string.