DebugLog.log("using GZIP to decode server responce");
    private static LoggingInputStream createInputStream(Map readHeader, InputStream is) throws IOException {        if (readHeader.get("Content-Length") != null) {            is = new FixedSizeInputStream(is, Long.parseLong(readHeader.get("Content-Length").toString()));        } else if ("chunked".equals(readHeader.get("Transfer-Encoding"))) {            is = new ChunkedInputStream(is);        }        if ("gzip".equals(readHeader.get("Content-Encoding"))) {            DebugLog.log("using GZIP to decode server responce");            is = new GZIPInputStream(is);        }        return DebugLog.getLoggingInputStream("http", is);    }