pub async fn remote_exists(url: &str, method: Method) -> Result<bool, Error>