Request the update size with HEAD instead of GET

This commit is contained in:
Josiah Glosson
2025-07-15 20:36:21 -05:00
parent 221c26d613
commit 83bd4dde45

View File

@@ -41,7 +41,7 @@ pub async fn get_update_size<R: Runtime>(
}
let response = request
.build()?
.get(update.download_url.clone())
.head(update.download_url.clone())
.headers(headers)
.send()
.await?;