You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Dileep Dixith <di...@in.ibm.com> on 2016/10/09 17:04:11 UTC
Content Length with compression with Jclouds PutBlob
Hi,
We are planning to enable compression before we send data to Cloud as part
of put blob. We have written a payload and ByteSource.
For larger files Once we opened a stream with cloud, we read slice from
local file and send it to cloud as part of putblob method.
During this, we have a compression module, which will compress each slice
of data rather than complete stream in one shot and we want to change the
content length after compression module performs its operation.
But, looks like once we open a stream we can not be able to change the
content length of blob.
I want to know is there a way to change the content length of MataData
after compression of all the slices completes.
Regards,
Dileep