Delete Bucket Policy
描述
删除桶的策略
request
DELETE /?policy HTTP/1.1
HOST: ${BucketName}.${endpoint}
Date: ${date}
Authorization: ${signature}
response
HTTP/1.1 200 OK
x-nos-request-id: 17b21e42ac11000001390ab891440240
Date: Wed, 01 Mar 2012 21:34:55 GMT
Connection: close
Server: NOS
Content-length : ${length}
细节描述
1.如果policy不存在,也返回删除成功 2.如果桶不存在,返回404,报NoSuchBucket 3.如果没有获取桶策略的权限,那么返回403 Forbidden 错误。错误码:AccessDenied。