最近更新时间:2024.05.11 18:38:12
首次发布时间:2024.01.05 16:32:15
CORS 规则非法。
用户设置桶 CORS 规则时,CORS 规则缺少 AllowedMethods
。
您进行桶 CORS 配置时,CORS 规则缺少 AllowedMethods
。
PUT /?cors HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: Fri, 30 Jul 2021 08:05:36 +0000 Authorization: authorization string { "CORSRules":[{ "AllowedOrigins":["*"] "AllowedHeaders":["Authorization"], "ExposeHeaders":["x-tos-test"], "MaxAgeSeconds":1024} ] }
参见 PutBucketCORS,正确构造 CORS 规则,确保存在 AllowedMethods
配置。