feat(headers): update to base64 0.5
This commit is contained in:
		| @@ -19,7 +19,7 @@ include = [ | |||||||
| ] | ] | ||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| base64 = "0.4" | base64 = "0.5" | ||||||
| bytes = "0.4" | bytes = "0.4" | ||||||
| futures = "0.1.11" | futures = "0.1.11" | ||||||
| futures-cpupool = "0.1" | futures-cpupool = "0.1" | ||||||
|   | |||||||
| @@ -158,7 +158,8 @@ impl Scheme for Basic { | |||||||
|         if let Some(ref pass) = self.password { |         if let Some(ref pass) = self.password { | ||||||
|             text.push_str(&pass[..]); |             text.push_str(&pass[..]); | ||||||
|         } |         } | ||||||
|         f.write_str(&encode(text.as_ref())) |  | ||||||
|  |         f.write_str(&encode(&text)) | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user