diff options
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:?}" ) } } |