}
if (logger.isTraceEnabled()) {
logger.trace("CHUNK: ---\n-" + System.getProperty("line.separator") + Unpooled.copiedBuffer(chunk).toString(Charsets.UTF_8) + "\n-" + System.getProperty("line.separator"));
logger.trace("CONTENT-SO-FAR-PRE-CHUNK: --- " + (contentSoFar - Unpooled.copiedBuffer(chunk).toString(Charsets.UTF_8).length()));
logger.trace("CHUNK-SIZE: --- " + chunk.readableBytes());
logger.trace("CONTENT-SO-FAR-PRE-CHUNK: --- " + contentSoFar);
if (contentLength != null) {
logger.trace("CONTENT-REMAINING: --- " + (contentLength - contentSoFar));
logger.trace("CONTENT-LENGTH: --- " + contentLength);
}