ContentSettings Class
The content settings of a blob.
- Inheritance
-
azure.storage.blob._shared.models.DictMixinContentSettings
Constructor
ContentSettings(content_type=None, content_encoding=None, content_language=None, content_disposition=None, cache_control=None, content_md5=None, **kwargs)
Parameters
Name | Description |
---|---|
content_type
|
The content type specified for the blob. If no content type was specified, the default content type is application/octet-stream. default value: None
|
content_encoding
|
If the content_encoding has previously been set for the blob, that value is stored. default value: None
|
content_language
|
If the content_language has previously been set for the blob, that value is stored. default value: None
|
content_disposition
|
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 blob, that value is stored. default value: None
|
cache_control
|
If the cache_control has previously been set for the blob, that value is stored. default value: None
|
content_md5
|
If the content_md5 has been set for the blob, this response header is stored so that the client can check for message content integrity. default value: None
|
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()
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for