You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/API.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -584,6 +584,7 @@ __minio.PutObjectOptions__
584
584
|`opts.ContentType`|_string_| Content type of object, e.g "application/text" |
585
585
|`opts.ContentEncoding`|_string_| Content encoding of object, e.g "gzip" |
586
586
|`opts.ContentDisposition`|_string_| Content disposition of object, "inline" |
587
+
|`opts.ContentLanguage`|_string_| Content language of object, e.g "French" |
587
588
|`opts.CacheControl`|_string_| Used to specify directives for caching mechanisms in both requests and responses e.g "max-age=600"|
588
589
|`opts.EncryptMaterials`|_encrypt.Materials_| Interface provided by `encrypt` package to encrypt a stream of data (For more information see https://godoc.org/github.com/minio/minio-go)|
589
590
|`opts.StorageClass`|_string_| Specify storage class for the object. Supported values for Minio server are `REDUCED_REDUNDANCY` and `STANDARD`|
@@ -629,7 +630,7 @@ __Parameters__
629
630
|`objectName`|_string_|Name of the object |
630
631
|`reader`|_io.Reader_|Any Go type that implements io.Reader |
631
632
|`objectSize`|_int64_| size of the object being uploaded. Pass -1 if stream size is unknown |
632
-
|`opts`|_minio.PutObjectOptions_|Pointer to struct that allows user to set optional custom metadata, content-type, content-encoding,content-disposition and cache-control headers, pass encryption module for encrypting objects, and optionally configure number of threads for multipart put operation. |
633
+
|`opts`|_minio.PutObjectOptions_|Pointer to struct that allows user to set optional custom metadata, content-type, content-encoding,content-disposition, content-language and cache-control headers, pass encryption module for encrypting objects, and optionally configure number of threads for multipart put operation. |
633
634
634
635
635
636
__Example__
@@ -911,7 +912,7 @@ __Parameters__
911
912
|`bucketName`|_string_|Name of the bucket |
912
913
|`objectName`|_string_|Name of the object |
913
914
|`filePath`|_string_|Path to file to be uploaded |
914
-
|`opts`|_minio.PutObjectOptions_|Pointer to struct that allows user to set optional custom metadata, content-type, content-encoding,content-disposition and cache-control headers, pass encryption module for encrypting objects, and optionally configure number of threads for multipart put operation. |
915
+
|`opts`|_minio.PutObjectOptions_|Pointer to struct that allows user to set optional custom metadata, content-type, content-encoding,content-disposition, content-language and cache-control headers, pass encryption module for encrypting objects, and optionally configure number of threads for multipart put operation. |
0 commit comments