InputStream responseStream = httpConn.getInputStream();
if ("gzip".equalsIgnoreCase(httpConn.getContentEncoding())) {
responseStream = new GZIPInputStream(responseStream);
}
if (logger.isLoggable(Level.FINEST)){
return new LoggableInputStream(logger, responseStream);
}
return responseStream;
}