ContentSettings Class

The content settings of a file or directory.

Inheritance
azure.storage.blob._models.ContentSettings
ContentSettings

Constructor

ContentSettings(**kwargs)

Keyword-Only Parameters

Name Description
content_type
str

The content type specified for the file or directory. If no content type was specified, the default content type is application/octet-stream.

content_encoding
str

If the content_encoding has previously been set for the file, that value is stored.

content_language
str

If the content_language has previously been set for the file, that value is stored.

content_disposition
str

content_disposition conveys additional information about how to process the response payload, and also can be used to attach additional metadata. If content_disposition has previously been set for the file, that value is stored.

cache_control
str

If the cache_control has previously been set for the file, that value is stored.

content_md5

If the content_md5 has been set for the file, this response header is stored so that the client can check for message content integrity.

Variables

Name Description
content_type
str

The content type specified for the file or directory. If no content type was specified, the default content type is application/octet-stream.

content_encoding
str

If the content_encoding has previously been set for the file, that value is stored.

content_language
str

If the content_language has previously been set for the file, that value is stored.

content_disposition
str

content_disposition conveys additional information about how to process the response payload, and also can be used to attach additional metadata. If content_disposition has previously been set for the file, that value is stored.

cache_control
str

If the cache_control has previously been set for the file, that value is stored.

content_md5

If the content_md5 has been set for the file, this response header is stored so that the client can check for message content integrity.

Methods

get
has_key
items
keys
update
values

get

get(key, default=None)

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k)

Parameters

Name Description
k
Required

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()