JCLOUDS-598: Populate additional MD5 field

Follow-on to a6337fdcc4.
This commit is contained in:
Andrew Gaul 2017-11-13 09:21:19 -08:00
parent 2df35de45c
commit 3923fb0d71
2 changed files with 1 additions and 5 deletions

View File

@ -70,6 +70,7 @@ public class ParseObjectFromHeadersAndHttpContent implements Function<HttpRespon
object.getAllHeaders().putAll(from.getHeaders());
object.setPayload(from.getPayload());
object.getContentMetadata().setContentLength(attemptToParseSizeAndRangeFromHeaders(from));
object.getContentMetadata().setContentMD5(object.getSystemMetadata().getContentMD5());
return object;
}

View File

@ -91,11 +91,6 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
throw new SkipException("Expiration not yet implemented");
}
@Override
public void testMetadata() {
throw new SkipException("Atmos cannot overwrite blob when Content-MD5 is set");
}
@Override
public void testMultipartUploadNoPartsAbort() throws Exception {
throw new SkipException("Atmos does not support multipart uploads");