Emit NotImplemented for multipart copy

References #56.
pull/72/head
Andrew Gaul 2015-07-23 23:14:36 -07:00
rodzic 629fa0b2d4
commit aed1a3ab3c
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -1488,6 +1488,12 @@ final class S3ProxyHandler extends AbstractHandler {
HttpServletResponse response, BlobStore blobStore,
String containerName, String blobName, String uploadId)
throws IOException, S3Exception {
// TODO: implement multipart copy
if (request.getHeader("x-amz-copy-source") != null ||
request.getHeader("x-amz-copy-source-range") != null) {
throw new S3Exception(S3ErrorCode.NOT_IMPLEMENTED);
}
// TODO: duplicated from handlePutBlob
String contentLengthString = null;
String contentMD5String = null;