forked from TrueCloudLab/frostfs-api
[#141] Add well-known attribute for content type
Neo3 Oracles need a way to check object's MIME content type, as described in neo-project/neo-modules#555. The proposal was to add Content-Type as a well-known attribute. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
69f09c8030
commit
e33f784e05
2 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,8 @@ message Header {
|
|||
// File name to be associated with the object on saving
|
||||
// * Timestamp \
|
||||
// User-defined local time of object creation in Unix Timestamp format
|
||||
// * Content-Type \
|
||||
// MIME Content Type of object's payload
|
||||
//
|
||||
// For detailed description of each well-known attribute please see the
|
||||
// corresponding section in NeoFS Technical specification.
|
||||
|
|
|
@ -699,6 +699,8 @@ And some well-known attributes used by applications only:
|
|||
File name to be associated with the object on saving
|
||||
* Timestamp \
|
||||
User-defined local time of object creation in Unix Timestamp format
|
||||
* Content-Type \
|
||||
MIME Content Type of object's payload
|
||||
|
||||
For detailed description of each well-known attribute please see the
|
||||
corresponding section in NeoFS Technical specification.
|
||||
|
|
Loading…
Reference in a new issue