From b5e408b02cd99a7833faab9b46d33042786c568c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 5 Jul 2024 16:14:41 +0200 Subject: stuff --- src/encoding/headers.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/encoding/headers.rs') diff --git a/src/encoding/headers.rs b/src/encoding/headers.rs index e9196d1..b45cfd5 100644 --- a/src/encoding/headers.rs +++ b/src/encoding/headers.rs @@ -108,6 +108,7 @@ impl FromStr for WWWAuthenticate { pub struct Authorization { pub username: String, pub realm: String, + pub uri: String, pub nonce: String, pub response: String, } @@ -120,11 +121,12 @@ impl Display for Authorization { username, realm, nonce, + uri, response, } = self; write!( f, - "Digest username={username:?} realm={realm:?}, nonce={nonce:?}, response={response:?}" + "Digest username={username:?} realm={realm:?}, nonce={nonce:?}, uri={uri:?}, response={response:?}" ) } } -- cgit v1.2.3-70-g09d2