对象存储服务 OBS-重写响应头(Go SDK):功能说明
功能说明
下载对象时,可以重写部分HTTP/HTTPS响应头信息。可重写的响应头信息见下表:
参数 |
作用 |
---|---|
GetObjectInput.ResponseContentType |
重写HTTP/HTTPS响应中的Content-Type |
GetObjectInput.ResponseContentLanguage |
重写HTTP/HTTPS响应中的Content-Language |
GetObjectInput.ResponseExpires |
重写HTTP/HTTPS响应中的Expires |
GetObjectInput.ResponseCacheControl |
重写HTTP/HTTPS响应中的Cache-Control |
GetObjectInput.ResponseContentDisposition |
重写HTTP/HTTPS响应中的Content-Disposition |
GetObjectInput.ResponseContentEncoding |
重写HTTP/HTTPS响应中的Content-Encoding |