diff --git a/src/async_impl/request.rs b/src/async_impl/request.rs index be2a1dfb8..dff3a6a52 100644 --- a/src/async_impl/request.rs +++ b/src/async_impl/request.rs @@ -170,7 +170,7 @@ impl RequestBuilder { Some(password) => format!("{}:{}", username, password), None => format!("{}:", username) }; - let header_value = format!("basic {}", encode(&auth)); + let header_value = format!("Basic {}", encode(&auth)); self.header(::header::AUTHORIZATION, &*header_value) }