archupsg03 commented on this pull request.
> +
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableMap.Builder;
+
+/**
+ * Updates Content Metadata.
+ *
+ * Required to update the Content Length of Object File as Sum of Content
length
+ * of Segments
+ *
+ * @param contentMetadata
+ *
+ * @return Map with Content Metadata.
+ */
+
+public class ContentMetaDataToMap {
Replace Manifest request an argument with Content-metadata
blob.getMetadata().getContentMetadata() return
[cacheControl=null, contentDisposition=null, contentEncoding=null,
contentLanguage=null, contentLength=36701504, contentMD5=null,
contentType=application/unknown, expires=null]
But we need Map{content-type=application/unknown}
Static Large Object API also does something similar to this.
Suggestion needed here :(
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1105#discussion_r118170303