diff --git a/src/mirror_intel.rs b/src/mirror_intel.rs index b8a7903..1d9ff69 100644 --- a/src/mirror_intel.rs +++ b/src/mirror_intel.rs @@ -57,7 +57,7 @@ impl SnapshotStorage for MirrorIntel { impl TargetStorage for MirrorIntel { async fn put_object(&self, item: String, mission: &Mission) -> Result<()> { let target_url = format!("{}/{}", self.config.base, item); - let response = self.client.get(&target_url).send().await?; + let response = self.client.head(&target_url).send().await?; let headers = response.headers().clone(); drop(response);