为了保证业务的安全性和稳定性,2025 年 02 月 28 日后,火山引擎对象存储产品将不允许在匿名访问的 Get 请求中自定义响应头域。
2025 年 02 月 28 日,具体时间请以控制台上线为准。
TOS 支持在 GET 请求中自定义响应头域。
要覆盖 GetObject 响应中响应头域的Cache-Control
、Content-Disposition
、Content-Encoding
、Content-Language
、Content-Type
和 Expires
,您可以在请求中使用以下查询参数:
response-cache-control
response-content-disposition
response-content-encoding
response-content-language
response-content-type
response-expires
注意
200 OK
时才会修改成功。