다음을 통해 공유


ContentSettings 클래스

Blob의 콘텐츠 설정을 저장하는 데 사용됩니다.

상속
builtins.object
ContentSettings

생성자

ContentSettings(content_type=None, content_encoding=None, content_language=None, content_disposition=None, cache_control=None, content_md5=None)

매개 변수

content_type
기본값: None
content_encoding
기본값: None
content_language
기본값: None
content_disposition
기본값: None
cache_control
기본값: None
content_md5
기본값: None

변수

content_type
str

Blob에 대해 지정된 콘텐츠 형식입니다. 콘텐츠 형식을 지정하지 않은 경우 기본 콘텐츠 형식은 application/octet-stream입니다.

content_encoding
str

content_encoding 이전에 Blob에 대해 설정된 경우 해당 값이 저장됩니다.

content_language
str

이전에 blob에 대해 content_language 설정된 경우 해당 값이 저장됩니다.

content_disposition
str

content_disposition 응답 페이로드를 처리하는 방법에 대한 추가 정보를 전달하며 추가 메타데이터를 연결하는 데 사용할 수도 있습니다. 이전에 blob에 대해 content_disposition 설정된 경우 해당 값이 저장됩니다.

cache_control
str

이전에 blob에 대해 cache_control 설정된 경우 해당 값이 저장됩니다.

content_md5
str

blob에 대해 content_md5 설정된 경우 클라이언트가 메시지 콘텐츠 무결성을 확인할 수 있도록 이 응답 헤더가 저장됩니다.