Perhaps it has something to do with the ordering of the filters? Both PrettyFaces and Weld are wrapping the response and the order of the filters is having influence on which response wraps the other one.
And in AS7 the filter is likely added by the Weld integration layer of AS7. In Tomcat is different.
Just a thought. I’ve to think about this more.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.