From daa1bf510cb2ba7bfe722aa1c8ebd45fb7fe787b Mon Sep 17 00:00:00 2001 From: Gerhard Poul Date: Mon, 12 Jan 2026 11:50:23 +0100 Subject: [PATCH] Document "auto" parameter for --content-type Signed-off-by: Gerhard Poul --- .../src/oci_cli_object_storage/objectstorage_cli_extended.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/object_storage/src/oci_cli_object_storage/objectstorage_cli_extended.py b/services/object_storage/src/oci_cli_object_storage/objectstorage_cli_extended.py index 010f42533..cb7f7e859 100644 --- a/services/object_storage/src/oci_cli_object_storage/objectstorage_cli_extended.py +++ b/services/object_storage/src/oci_cli_object_storage/objectstorage_cli_extended.py @@ -250,7 +250,7 @@ def remove_namespace_required_objectstorage(): cli_util.update_param_help(objectstorage_cli.update_object_storage_tier, 'object_name', """The name of the object for which the storage tier needs to be changed.""", append=False) # Create and store extended parameters which are used in multiple operations -content_type_option_help_text = 'The optional Content-Type header that defines the standard MIME type format of the object to be returned in GetObject and HeadObject responses. Content type defaults to \'application/octet-stream\' if not specified. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.' +content_type_option_help_text = 'The optional Content-Type header that defines the standard MIME type format of the object to be returned in GetObject and HeadObject responses. Content type defaults to \'application/octet-stream\' if not specified. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects. If ``--content-type`` is set to "auto", then the CLI will guess the content type of the file.' content_language_option_help_text = 'The optional Content-Language header that defines the content language of the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.' content_encoding_option_help_text = 'The optional Content-Encoding header that defines the content encoding of the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.' content_disposition_option_help_text = 'The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.'