mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
handler: CopyObject should save metadata. (#1698)
- Content-Type - Content-Encoding - ETag Fixes #1682
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
00d0558131
commit
9fdb69563d
+8
-7
@@ -28,13 +28,14 @@ type BucketInfo struct {
|
||||
|
||||
// ObjectInfo - object info.
|
||||
type ObjectInfo struct {
|
||||
Bucket string
|
||||
Name string
|
||||
ModTime time.Time
|
||||
ContentType string
|
||||
MD5Sum string
|
||||
Size int64
|
||||
IsDir bool
|
||||
Bucket string
|
||||
Name string
|
||||
ModTime time.Time
|
||||
Size int64
|
||||
IsDir bool
|
||||
MD5Sum string
|
||||
ContentType string
|
||||
ContentEncoding string
|
||||
}
|
||||
|
||||
// ListPartsInfo - various types of object resources.
|
||||
|
||||
Reference in New Issue
Block a user