|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, username, password) |
| def | init_per_thread_state (self) |
| def | build_digest_header (self, method, url) |
| def | handle_redirect (self, r, **kwargs) |
| def | handle_401 (self, r, **kwargs) |
| def | __call__ (self, r) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
Data Fields | |
| username | |
| password | |
Attaches HTTP Digest Authentication to the given Request object.
| def __init__ | ( | self, | |
| username, | |||
| password | |||
| ) |
| def __call__ | ( | self, | |
| r | |||
| ) |
Reimplemented from AuthBase.
| def __eq__ | ( | self, | |
| other | |||
| ) |
| def __ne__ | ( | self, | |
| other | |||
| ) |
| def build_digest_header | ( | self, | |
| method, | |||
| url | |||
| ) |
:rtype: str
| def handle_401 | ( | self, | |
| r, | |||
| ** | kwargs | ||
| ) |
Takes the given response and tries digest-auth, if needed. :rtype: requests.Response
| def handle_redirect | ( | self, | |
| r, | |||
| ** | kwargs | ||
| ) |
Reset num_401_calls counter on redirects.
| def init_per_thread_state | ( | self | ) |
| password |
| username |