You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tracing::trace!("Trying to get tar file for plugin '{name}' from {target_url}");
339
-
let plugin_bin = reqwest::get(target_url).await?;
344
+
let client = Client::new();
345
+
let plugin_bin = client
346
+
.get(target_url)
347
+
.headers(maybe_get_auth_header()?)
348
+
.send()
349
+
.await?;
340
350
if !plugin_bin.status().is_success(){
341
351
match plugin_bin.status(){
342
352
reqwest::StatusCode::NOT_FOUND => bail!("The download URL specified in the plugin manifest was not found ({target_url} returned HTTP error 404). Please contact the plugin author."),
0 commit comments