public void ProcessHeadless(HttpContextBase httpContext, ISitecoreContext sitecoreContext)
        {
            if (httpContext == null)
            {
                throw new ArgumentNullException(nameof(httpContext));
            }
            if (sitecoreContext == null)
            {
                throw new ArgumentNullException(nameof(sitecoreContext));
            }

            if (!httpContext.IsHeadless())
            {
                return;
            }

            var path = httpContext.GetQueryStringValue("path");

            sitecoreContext.TryResolveContextItemByPath(path);
        }