I test my app in a wildfly 8.1.0.Final server with a web service that response an audio/mpeg (content-type) data.
When I add a Gzip Filter to my standalone config... I have problems...
With firefox and ie browsers, all is OK. But when Chrome try to get data from my web service it fails.
Reason: Chrome from an audio HTML5 component sends a request to server with a Accept-Encoding header like this:
{ Accept:*/* Accept-Encoding:identity;q=1, *;q=0 }When wildfly process Gzip filter (also if it is excluded this type of resource by regexp) calls to the undertow code: ContentEncodingRepository.getContentEncodings
I read this method in github and i think that could have a bug with this kind of "Accept-Encoding"... rejecting all with a 406 ERROR.