@@ -129,6 +129,7 @@ type ObjectPutHeaderOptions struct {
129129 ContentType string `header:"Content-Type,omitempty" url:"-"`
130130 ContentMD5 string `header:"Content-MD5,omitempty" url:"-"`
131131 ContentLength int `header:"Content-Length,omitempty" url:"-"`
132+ ContentLanguage string `header:"Content-Language,omitempty" url:"-"`
132133 Expect string `header:"Expect,omitempty" url:"-"`
133134 Expires string `header:"Expires,omitempty" url:"-"`
134135 XCosContentSHA1 string `header:"x-cos-content-sha1,omitempty" url:"-"`
@@ -188,6 +189,7 @@ type ObjectCopyHeaderOptions struct {
188189 CacheControl string `header:"Cache-Control,omitempty" url:"-"`
189190 ContentDisposition string `header:"Content-Disposition,omitempty" url:"-"`
190191 ContentEncoding string `header:"Content-Encoding,omitempty" url:"-"`
192+ ContentLanguage string `header:"Content-Language,omitempty" url:"-"`
191193 ContentType string `header:"Content-Type,omitempty" url:"-"`
192194 Expires string `header:"Expires,omitempty" url:"-"`
193195 Expect string `header:"Expect,omitempty" url:"-"`
@@ -208,6 +210,8 @@ type ObjectCopyHeaderOptions struct {
208210 XCosCopySourceSSECustomerAglo string `header:"x-cos-copy-source-server-side-encryption-customer-algorithm,omitempty" url:"-" xml:"-"`
209211 XCosCopySourceSSECustomerKey string `header:"x-cos-copy-source-server-side-encryption-customer-key,omitempty" url:"-" xml:"-"`
210212 XCosCopySourceSSECustomerKeyMD5 string `header:"x-cos-copy-source-server-side-encryption-customer-key-MD5,omitempty" url:"-" xml:"-"`
213+ //兼容其他自定义头部
214+ XOptionHeader * http.Header `header:"-,omitempty" url:"-" xml:"-"`
211215}
212216
213217// ObjectCopyOptions is the option of Copy, choose header or body
0 commit comments