} } private bool IsHtmlRequest(string pathInfo) { return !string.IsNullOrEmpty(pathInfo) && pathInfo.EndsWith(".html", StringComparison.OrdinalIgnoreCase); }