> @@ -105,4 +183,62 @@ protected Payload copyMetadataAndSetLength(Payload > input, Payload returnVal, lon > return returnVal; > } > > + @Override > + public Iterable<Payload> slice(Payload input, long size) { > + checkNotNull(input); > + checkArgument(size >= 0, "length is negative"); > + > + ContentMetadata meta = > BaseMutableContentMetadata.fromContentMetadata(input.getContentMetadata()) > + .toBuilder() > + .contentLength(size) > + .contentMD5(null)
> Is this required? There has been just enough time pass between now and when I originally did this for me to be a little hazy about what I intended. `meta` is passed through to the iterator, which uses it to a) extract the overall size, and b) as a template for creating the individual metadata instances; How do you think this should be done? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/192/files#r8114171