You need to enable JavaScript to run this app.
导航

0008-00000001

最近更新时间2024.01.05 16:32:14

首次发布时间2024.01.05 16:32:14

问题描述

请求禁止同时携带 x-tos-acl 和 x-tos-grant-* 头域。

问题原因

用户设置桶或对象 ACL 时,请求中同时携带 x-tos-acl 和 x-tos-grant-* 头域。

问题示例

您在配置桶 ACL 时,请求同时携带了 x-tos-acl 和 x-tos-grant-* 头域。

PUT /?acl HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Date: Fri, 30 Jul 2021 13:59:18 GMT
Authorization: authorization xxx
x-tos-acl: public-read
x-tos-grant-read: canned=everyone

解决方案

发起请求时,头域 x-tos-acl 和 x-tos-grant-* 二选一。