Return objects content types in Web List Objects handler (#3249)

master
Anis Elleuch 8 years ago committed by Harshavardhana
parent c57a358c9d
commit 0c042a622a
  1. 1
      cmd/web-handlers.go

@ -239,6 +239,7 @@ func (web *webAPIHandlers) ListObjects(r *http.Request, args *ListObjectsArgs, r
Key: obj.Name,
LastModified: obj.ModTime,
Size: obj.Size,
ContentType: obj.ContentType,
})
}
for _, prefix := range lo.Prefixes {

Loading…
Cancel
Save