jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java
@Override
	public void setIntHeader(final String name, final int value) {
		if (buffer == null || !name.equalsIgnoreCase(CONTENT_LENGTH)) {
			super.setIntHeader(name, value);
		}
	}
@Override
	public void setIntHeader(final String name, final int value) {
		if (buffer == null || !name.equalsIgnoreCase(CONTENT_LENGTH)) {
			super.setIntHeader(name, value);
		}
	}
Prevents setting content-length if buffering enabled.