if (!returnRawInputStream
&& contentEncoding != null && contentEncoding != null
&& contentEncoding.contains("gzip")) {
"contains" is incorrect. This should be equals or perhaps equalsIgnoreCase with a trim, or something like that. However it shouldn't fire on foogzipbar.
"contains" is incorrect. This should be equals or perhaps equalsIgnoreCase with a trim, or something like that. However it shouldn't fire on foogzipbar.