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:
parent
471c7e0df9
commit
e39a1fd949
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue