return new FilteringHeaderResponse(response, headBucket, filters) {
@Override
public void render(HeaderItem item) {
if (item instanceof StringHeaderItem) {
StringHeaderItem stringHeaderItem = (StringHeaderItem) item;
// make specific header item coming from <wicket:head> a priority one
if (stringHeaderItem.getString().toString().contains("X-UA-Compatible")) {
super.render(new PriorityHeaderItem(stringHeaderItem));
} else {
super.render(item);
}
}