private static String responseBodyAsStr(Response response) {
        ResponseBody responseBody = response.body();
        if (responseBody == null || !HttpHeaders.hasBody(response)) {
            return null;
        }
        try {
            BufferedSource source = responseBody.source();
            source.request(64); // Buffer the entire body.
            Buffer buffer = source.buffer();
            if (!isPlaintext(buffer)) {
                return "(binary " + responseBody.contentLength() + "-byte body omitted)";
            }
        } catch (IOException e) {
            e.printStackTrace();
            return null;
        }

        if (responseBody.contentLength() > MAX_SIZE_BODY) {
            return "(binary " + responseBody.contentLength() + "-byte body omitted)";
        }

        String contentEncoding = response.header("Content-Encoding");
        boolean gzip = "gzip".equalsIgnoreCase(contentEncoding);
        try {
            return sourceToStrInternal(
                    response.peekBody(Long.MAX_VALUE).source(), gzip, responseBody.contentType());
        } catch (IOException e) {
            e.printStackTrace();
            return null;
        }
    }
we need handle 'Content-Encoding' if 'Accept-Encoding' added by user instead of OKHttp

@param response
@return
pandora-core/src/main/java/tech/linjiang/pandora/network/OkHttpInterceptor.java