Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
pip._vendor.requests.auth.HTTPDigestAuth Class Reference
Inheritance diagram for pip._vendor.requests.auth.HTTPDigestAuth:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.requests.auth.HTTPDigestAuth:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, username, password)
 
 init_per_thread_state (self)
 
 build_digest_header (self, method, url)
 
 handle_redirect (self, r, **kwargs)
 
 handle_401 (self, r, **kwargs)
 
 __call__ (self, r)
 
 __eq__ (self, other)
 
 __ne__ (self, other)
 

Public Attributes

 username
 
 password
 
 handle_401
 
 handle_redirect
 

Protected Attributes

 _thread_local
 

Detailed Description

Attaches HTTP Digest Authentication to the given Request object.

Member Function Documentation

◆ __call__()

pip._vendor.requests.auth.HTTPDigestAuth.__call__ (   self,
  r 
)

◆ build_digest_header()

pip._vendor.requests.auth.HTTPDigestAuth.build_digest_header (   self,
  method,
  url 
)
:rtype: str

◆ handle_401()

pip._vendor.requests.auth.HTTPDigestAuth.handle_401 (   self,
  r,
**  kwargs 
)
Takes the given response and tries digest-auth, if needed.

:rtype: requests.Response

◆ handle_redirect()

pip._vendor.requests.auth.HTTPDigestAuth.handle_redirect (   self,
  r,
**  kwargs 
)
Reset num_401_calls counter on redirects.

The documentation for this class was generated from the following file: