Browse Source

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

pull/3254/head
Anis Elleuch 9 years ago
committed by Harshavardhana
parent
commit
0c042a622a
  1. 1
      cmd/web-handlers.go

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