aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-registry/src/downloader.rs')
-rw-r--r--crates/mozart-registry/src/downloader.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/mozart-registry/src/downloader.rs b/crates/mozart-registry/src/downloader.rs
index c13ebdc..3cb991b 100644
--- a/crates/mozart-registry/src/downloader.rs
+++ b/crates/mozart-registry/src/downloader.rs
@@ -109,9 +109,7 @@ pub async fn download_dist(
}
}
- let client = reqwest::Client::builder()
- .user_agent(mozart_core::http::user_agent())
- .build()?;
+ let client = mozart_core::http::client_builder().build()?;
let response = client.get(url).send().await?;
tracing::debug!(status = %response.status(), "received response");