feat(headers): update to base64 0.5

This commit is contained in:
golem131
2017-05-11 11:36:01 +03:00
parent c18d47db2f
commit ca22eae5ac
2 changed files with 3 additions and 2 deletions

View File

@@ -158,7 +158,8 @@ impl Scheme for Basic {
if let Some(ref pass) = self.password {
text.push_str(&pass[..]);
}
f.write_str(&encode(text.as_ref()))
f.write_str(&encode(&text))
}
}