fn route(url: &str, root: &Path, token: &str) -> Result<PathBuf, u16>
Check the token and resolve the path, or return the status to answer with.