pub type TemplateResourceHandler = fn(uri: &str, vars: &HashMap<String, String>) -> Result<ResourceContents, String>;
Handler for a URI template match: receives the request URI and extracted {name} values.
{name}