pub fn digest_auth_header(
method: &str,
uri: &str,
username: &str,
password: &str,
www_auth: &str,
) -> Option<String>Expand description
Compute an HTTP Digest Authorization header for method+uri given a WWW-Authenticate
challenge. Returns None when the challenge lacks the required realm/nonce. When the server
offers qop=auth, a fresh client nonce (cnonce) is generated and nc is 00000001.