Cassette.Web.CassetteApplication.IsHtmlResponse C# (CSharp) 메소드

IsHtmlResponse() 개인적인 메소드

private IsHtmlResponse ( System.Web.HttpContextBase httpContext ) : bool
httpContext System.Web.HttpContextBase
리턴 bool
        bool IsHtmlResponse(HttpContextBase httpContext)
        {
            return httpContext.Response.ContentType == "text/html" ||
                   httpContext.Response.ContentType == "application/xhtml+xml";
        }