byteArrayEntity = new ByteArrayEntity(Base64.base64ToByteArray(bodyBase64Encoded));
}
public void setRequestInputStream(InputStream is, long length) {
if (collectAdditionalInfo) {
ClonedInputStream cis = new ClonedInputStream(is);
is = cis;
copy = cis.getOutput();
}
inputStreamEntity = new InputStreamEntity(is, length);
}