handler: CopyObject should save metadata. (#1698)

- Content-Type
- Content-Encoding
- ETag

Fixes #1682
This commit is contained in:
Harshavardhana
2016-05-19 17:10:08 -07:00
committed by Anand Babu (AB) Periasamy
parent 00d0558131
commit 9fdb69563d
7 changed files with 51 additions and 20 deletions
+8 -7
View File
@@ -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.