Skip to content

Commit

Permalink
Fix basic_auth async builder to send capital "Basic"
Browse files Browse the repository at this point in the history
Closes #468
  • Loading branch information
seanmonstar committed Mar 20, 2019
1 parent f02ca0d commit faaf41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_impl/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit faaf41c

Please sign in to comment.