if (pgdef._hdResDefs != null && directives != null && contains(directives, "header")) {
            for (ResponseHeaderInfo rhi : pgdef._hdResDefs)
                addResponseHeaderInfo(rhi);
        }