diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-05 16:14:41 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-05 16:14:41 +0200 |
commit | b5e408b02cd99a7833faab9b46d33042786c568c (patch) | |
tree | 143d99f54fb7412a82640a0c4a0ab1190f47f2ef /src/encoding/headers.rs | |
parent | 6de0a5e827b0b18f589c28f489b4ff88169f156c (diff) | |
download | sip-rs-b5e408b02cd99a7833faab9b46d33042786c568c.tar sip-rs-b5e408b02cd99a7833faab9b46d33042786c568c.tar.bz2 sip-rs-b5e408b02cd99a7833faab9b46d33042786c568c.tar.zst |
stuff
Diffstat (limited to 'src/encoding/headers.rs')
-rw-r--r-- | src/encoding/headers.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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:?}" ) } } |