mirror of https://github.com/apache/jclouds.git
parent
2df35de45c
commit
3923fb0d71
|
@ -70,6 +70,7 @@ public class ParseObjectFromHeadersAndHttpContent implements Function<HttpRespon
|
||||||
object.getAllHeaders().putAll(from.getHeaders());
|
object.getAllHeaders().putAll(from.getHeaders());
|
||||||
object.setPayload(from.getPayload());
|
object.setPayload(from.getPayload());
|
||||||
object.getContentMetadata().setContentLength(attemptToParseSizeAndRangeFromHeaders(from));
|
object.getContentMetadata().setContentLength(attemptToParseSizeAndRangeFromHeaders(from));
|
||||||
|
object.getContentMetadata().setContentMD5(object.getSystemMetadata().getContentMD5());
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,11 +91,6 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
|
||||||
throw new SkipException("Expiration not yet implemented");
|
throw new SkipException("Expiration not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void testMetadata() {
|
|
||||||
throw new SkipException("Atmos cannot overwrite blob when Content-MD5 is set");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void testMultipartUploadNoPartsAbort() throws Exception {
|
public void testMultipartUploadNoPartsAbort() throws Exception {
|
||||||
throw new SkipException("Atmos does not support multipart uploads");
|
throw new SkipException("Atmos does not support multipart uploads");
|
||||||
|
|
Loading…
Reference in New Issue