mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 08:38:11 +02:00
gcs: Storage class object header support - fixes #3043
This commit is contained in:
committed by
Nick Craig-Wood
parent
cb16f42075
commit
6ab6c8eefa
@ -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) {
|
||||
|
Reference in New Issue
Block a user