forked from TrueCloudLab/frostfs-s3-gw
[#131] Fix metadata in HeadObject and GetObject
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
e8bf46a2fa
commit
da9a6e4b33
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func writeHeaders(h http.Header, info *layer.ObjectInfo) {
|
|||
h.Set(api.ETag, info.HashSum)
|
||||
|
||||
for key, val := range info.Headers {
|
||||
h.Set("X-"+key, val)
|
||||
h.Set(api.MetadataPrefix+key, val)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue