Minimal stateful Digest client for functional tests.
Definition at line 33 of file httpdigest.py.
Public Member Functions | |
| __init__ (self, *, str username, str password) | |
| str | construct_header (self, *, dict challenge, str uri, str method) |
| Builds an Authorization: Digest ... header value for the challenge. | |
Protected Attributes | |
| _digest_auth = HTTPDigestAuth(username, password) | |
| pytest_userver.utils.httpdigest.DigestAuthClient.__init__ | ( | self, | |
| * | , | ||
| str | username, | ||
| str | password ) |
Definition at line 36 of file httpdigest.py.
| str pytest_userver.utils.httpdigest.DigestAuthClient.construct_header | ( | self, | |
| * | , | ||
| dict | challenge, | ||
| str | uri, | ||
| str | method ) |
Builds an Authorization: Digest ... header value for the challenge.
Definition at line 40 of file httpdigest.py.
|
protected |
Definition at line 37 of file httpdigest.py.