pub fn split_query(location: &str) -> (&str, &str)
Split a location into its path and its query string.