forked from TrueCloudLab/frostfs-s3-gw
[#79] Return X-Owner-Id in head-bucket response
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
parent
fb99b26209
commit
a5c89b78bc
3 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,7 @@ func (h *handler) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
w.Header().Set(api.OwnerID, bktInfo.Owner.EncodeToString())
|
||||
w.Header().Set(api.ContainerID, bktInfo.CID.EncodeToString())
|
||||
w.Header().Set(api.AmzBucketRegion, bktInfo.LocationConstraint)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue