Browse Source

add Server Side Encryption Option to ObjectPutHeaderOptions

tags/v0.7.8
Li Kexian 6 years ago
parent
commit
8daea42788
  1. 2
      object.go

2
object.go

@ -133,6 +133,8 @@ type ObjectPutHeaderOptions struct {
XCosStorageClass string `header:"x-cos-storage-class,omitempty" url:"-"`
// 可选值: Normal, Appendable
//XCosObjectType string `header:"x-cos-object-type,omitempty" url:"-"`
// Enable Server Side Encryption, Only supported: AES256
XCosServerSideEncryption string `header:"x-cos-server-side-encryption,omitempty" url:"-" xml:"-"`
}
// ObjectPutOptions the options of put object

|||||||
100:0
Loading…
Cancel
Save