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
|
@ -87,6 +87,7 @@ pub async fn latest_github_release(
|
|||
.get(
|
||||
&format!("https://api.github.com/repos/{repo_name_with_owner}/releases/latest"),
|
||||
Default::default(),
|
||||
true,
|
||||
)
|
||||
.await
|
||||
.context("error fetching latest release")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue