mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 19:19:11 +08:00
s3: save metadata during put-object
fix https://github.com/chrislusf/seaweedfs/issues/2092
This commit is contained in:
parent
2d7b4e5bb6
commit
fb8036385a
@ -218,7 +218,7 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa
|
||||
entry.Extended = make(map[string][]byte)
|
||||
}
|
||||
|
||||
SaveAmzMetaData(r, entry.Extended, false)
|
||||
entry.Extended = SaveAmzMetaData(r, entry.Extended, false)
|
||||
|
||||
for k, v := range r.Header {
|
||||
if len(v) > 0 && (strings.HasPrefix(k, needle.PairNamePrefix) || k == "Cache-Control" || k == "Expires") {
|
||||
|
Loading…
Reference in New Issue
Block a user