Make following redirects explicit in HttpClient::get
This commit is contained in:
parent
78afbb3599
commit
0e1e5b7d55
7 changed files with 21 additions and 15 deletions
|
@ -42,7 +42,7 @@ impl super::LspAdapter for CLspAdapter {
|
|||
|
||||
if fs::metadata(&binary_path).await.is_err() {
|
||||
let mut response = http
|
||||
.get(&version.url, Default::default())
|
||||
.get(&version.url, Default::default(), true)
|
||||
.await
|
||||
.context("error downloading release")?;
|
||||
let mut file = File::create(&zip_path).await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue