You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.and_then(|segments| segments.last())// Retrieves the last segment
90
102
.unwrap_or("file.download");// Fallback to generic filename
91
103
104
+
let resp = client.head(url.as_str()).send().await?;
105
+
match resp.status(){
106
+
status if status.is_success() => (),
107
+
status if status.as_u16() == 404 => {
108
+
returnErr(format!(
109
+
"\n\nThe reference combination you requested:\n\tCRAWL: {}\n\tSUBSET: {}\n\tURL: {}\n\nDoesn't seem to exist or it is currently not accessible.\n\tError code: {} {}",
0 commit comments