pub fn split_segment_parameters(url: &Url) -> (Url, HashMap<String, String>)