最近更新时间:2021-12-24
使用HeadBucket接口判断Bucket是否存在,以及用户对它的权限。
如果指定Bucket存在且用户拥有访问它的权限则返回200,否则会返回404或者403。
HEAD / HTTP/1.1 Host: examplebucket.region.unicloudsrv.com Date: date Authorization: authorization string |
HEAD / HTTP/1.1 Date: Fri, 10 Feb 2012 21:34:55 GMT Authorization: authorization string Host: test.oss-cn-north-1.unicloudsrv.com Connection: Keep-Alive |
HTTP/1.1 200 OK Date: Fri, 10 2012 21:34:56 GMT |