Browse Source

store together with "Seaweed-" prefix

pull/1598/head
Chris Lu 4 years ago
parent
commit
d29b787220
  1. 2
      weed/server/filer_server_handlers_write_autochunk.go

2
weed/server/filer_server_handlers_write_autochunk.go

@ -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])
} }
} }

Loading…
Cancel
Save