// Token: 0x06000FDF RID: 4063 RVA: 0x00063078 File Offset: 0x00061278 private bool ShouldInterceptRequest(HttpContext httpContext, bool avoidUserContextAccess = false) { if (Globals.OwaVDirType == OWAVDirType.Calendar) { return(true); } if (RequestDispatcherUtilities.IsPremiumRequest(httpContext.Request)) { return(false); } OwaRequestType requestType = Utilities.GetRequestType(httpContext.Request); return(requestType == OwaRequestType.LanguagePage || requestType == OwaRequestType.Attachment || requestType == OwaRequestType.WebReadyRequest || RequestDispatcherUtilities.IsDownLevelClient(httpContext, avoidUserContextAccess)); }
// Token: 0x06001333 RID: 4915 RVA: 0x00077275 File Offset: 0x00075475 internal static bool ShouldDoBasicRegistryLookup(OwaContext owaContext) { return((RequestDispatcherUtilities.IsDownLevelClient(owaContext.HttpContext, false) && owaContext.RequestType != OwaRequestType.Attachment && owaContext.RequestType != OwaRequestType.WebReadyRequest && owaContext.RequestType != OwaRequestType.Aspx) || owaContext.RequestType == OwaRequestType.WebPart); }