Add split_info field in object.HeadResponse body
Head operation returns SplitInfo structure if request has raw flag and ID of virtual object. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
a5a39257fc
commit
7995020a9d
1 changed files with 5 additions and 1 deletions
|
@ -270,13 +270,17 @@ message HeaderWithSignature {
|
||||||
message HeadResponse {
|
message HeadResponse {
|
||||||
// Object HEAD response body
|
// Object HEAD response body
|
||||||
message Body {
|
message Body {
|
||||||
// Requested object header or it's part.
|
// Requested object header, it's part or meta information about split
|
||||||
|
// object.
|
||||||
oneof head{
|
oneof head{
|
||||||
// Full object's `Header` with `ObjectID` signature
|
// Full object's `Header` with `ObjectID` signature
|
||||||
HeaderWithSignature header = 1;
|
HeaderWithSignature header = 1;
|
||||||
|
|
||||||
// Short object header
|
// Short object header
|
||||||
ShortHeader short_header = 2;
|
ShortHeader short_header = 2;
|
||||||
|
|
||||||
|
// Meta information of split hierarchy.
|
||||||
|
SplitInfo split_info = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Body of head object response message.
|
// Body of head object response message.
|
||||||
|
|
Loading…
Reference in a new issue