pub fn classify(content_type: Option<&str>, url: &str) -> ResourceTypeExpand description
Classify an entry by content-type, then URL extension, then host.
pub fn classify(content_type: Option<&str>, url: &str) -> ResourceTypeClassify an entry by content-type, then URL extension, then host.