kopia lustrzana https://github.com/gaul/s3proxy
Honor force multipart in emulated copy object
rodzic
86665450ca
commit
a6133a60a6
|
@ -901,8 +901,10 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
.contentLength(metadata.getContentLength())
|
.contentLength(metadata.getContentLength())
|
||||||
.contentType(metadata.getContentType());
|
.contentType(metadata.getContentType());
|
||||||
|
|
||||||
|
PutOptions options = new PutOptions()
|
||||||
|
.multipart(forceMultiPartUpload);
|
||||||
String eTag = blobStore.putBlob(destContainerName,
|
String eTag = blobStore.putBlob(destContainerName,
|
||||||
builder.build());
|
builder.build(), options);
|
||||||
Date lastModified = blob.getMetadata().getLastModified();
|
Date lastModified = blob.getMetadata().getLastModified();
|
||||||
try (Writer writer = response.getWriter()) {
|
try (Writer writer = response.getWriter()) {
|
||||||
XMLStreamWriter xml = xmlOutputFactory.createXMLStreamWriter(
|
XMLStreamWriter xml = xmlOutputFactory.createXMLStreamWriter(
|
||||||
|
|
Ładowanie…
Reference in New Issue