pkg/object: Add content type constant

Specification defined one more well-known object
attribute `Content-Type`.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-03-15 10:47:13 +03:00 committed by Alex Vanin
parent 471c7e0df9
commit e39a1fd949

View file

@ -12,4 +12,8 @@ const (
// AttributeTimestamp is an attribute key that is commonly used to denote
// user-defined local time of object creation in Unix Timestamp format.
AttributeTimestamp = "Timestamp"
// AttributeTimestamp is an attribute key that is commonly used to denote
// MIME Content Type of object's payload.
AttributeContentType = "Content-Type"
)