pub fn compose_url(base: &str, url: &str, fragid_opt: Option<&str>) -> String
builds a complete url from fragments