kopia lustrzana https://github.com/gaul/s3proxy
Emit 501 not implemented for PUT Bucket ACL
rodzic
49489430d5
commit
a94ded5443
|
@ -166,6 +166,11 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
}
|
}
|
||||||
case "PUT":
|
case "PUT":
|
||||||
if (path.length <= 2 || path[2].isEmpty()) {
|
if (path.length <= 2 || path[2].isEmpty()) {
|
||||||
|
if ("".equals(request.getParameter("acl"))) {
|
||||||
|
response.sendError(HttpServletResponse.SC_NOT_IMPLEMENTED);
|
||||||
|
baseRequest.setHandled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
handleContainerCreate(response, path[1]);
|
handleContainerCreate(response, path[1]);
|
||||||
baseRequest.setHandled(true);
|
baseRequest.setHandled(true);
|
||||||
return;
|
return;
|
||||||
|
|
Ładowanie…
Reference in New Issue