B:BD[
4.5693] → [
2.11188:11239]
bail!("HTTP error {:?}", res.status())
let repo_query = self.client.head(self.url.clone()).send().await?;
if repo_query.status().is_success() {
debug!(
"HTTP error {}: no channel {} found for remote {}",
repo_query.status(),
self.channel,
self.url
);
bail!("HTTP error: no channel {} found for remote {}", self.channel, self.url);
} else {
debug!(
"HTTP error {}: no remote repository found at {}",
repo_query.status(),
self.url
);
bail!("HTTP error: no remote repository found at {}", self.url);
}