gcs: Storage class object header support - fixes #3043
This commit is contained in:
parent
cb16f42075
commit
6ab6c8eefa
2 changed files with 3 additions and 0 deletions
|
@ -1091,6 +1091,8 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
|||
object.ContentLanguage = value
|
||||
case "content-type":
|
||||
object.ContentType = value
|
||||
case "x-goog-storage-class":
|
||||
object.StorageClass = value
|
||||
default:
|
||||
const googMetaPrefix = "x-goog-meta-"
|
||||
if strings.HasPrefix(lowerKey, googMetaPrefix) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue