fn handle_result( method: &Method, uri: &Uri, matched_path: Option<&MatchedPath>, result: Response, ) -> Result<Response, StatusCode>