}
String encoding = _conn.getContentEncoding();
String contentType = _conn.getContentType();
- boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType) || contentType.endsWith("gzip")
- || "gzip".equals(encoding);
+ boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType)
+ || contentType.endsWith("gzip") || "gzip".equals(encoding);
Exception e = null;
InputStream inputStream = _conn.getInputStream();
if (isgzipped)