store together with "Seaweed-" prefix

This commit is contained in:
Chris Lu 2020-11-03 00:21:10 -08:00
parent 5448781dfc
commit d29b787220

View file

@ -186,7 +186,7 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa
for k, v := range r.Header { for k, v := range r.Header {
if len(v) > 0 && strings.HasPrefix(k, needle.PairNamePrefix) { if len(v) > 0 && strings.HasPrefix(k, needle.PairNamePrefix) {
entry.Extended[k[len(needle.PairNamePrefix):]] = []byte(v[0]) entry.Extended[k] = []byte(v[0])
} }
} }