Details
Description
Looks like a typo in
static boolean isGzipRequestEnabled(MessageContext context)
{
if (isGzipEnabled(context)) return true;
Object gzipReqEnabled = context.getContextualProperty(GZIP_RESPONSE_ENABLED);
return (gzipReqEnabled != null && gzipReqEnabled.toString().toLowerCase().equals("true"));
}
It should be checking GZIP_REQUEST_ENABLED instead.
This passed the tests because the filter being use (pjl) does both request and response by default.
Fixed. Thanks for the report!