From e39a1fd9497f9b1f6368af61af05f77795db2478 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 15 Mar 2021 10:47:13 +0300 Subject: [PATCH] pkg/object: Add content type constant Specification defined one more well-known object attribute `Content-Type`. Signed-off-by: Alex Vanin --- pkg/object/wellknown_attributes.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/object/wellknown_attributes.go b/pkg/object/wellknown_attributes.go index 423b5fb..9e1793e 100644 --- a/pkg/object/wellknown_attributes.go +++ b/pkg/object/wellknown_attributes.go @@ -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" )