forked from TrueCloudLab/frostfs-api-go
e39a1fd949
Specification defined one more well-known object attribute `Content-Type`. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
19 lines
651 B
Go
19 lines
651 B
Go
package object
|
|
|
|
const (
|
|
// AttributeName is an attribute key that is commonly used to denote
|
|
// human-friendly name.
|
|
AttributeName = "Name"
|
|
|
|
// AttributeFileName is an attribute key that is commonly used to denote
|
|
// file name to be associated with the object on saving.
|
|
AttributeFileName = "FileName"
|
|
|
|
// 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"
|
|
)
|