return tags as part of Head/Get calls (#17635)
AWS S3 only returns the number of tag counts, along with that we must return the tags as well to avoid another metadata call to the server.
This commit is contained in:
@@ -55,6 +55,7 @@ type ObjectOptions struct {
|
||||
|
||||
DeleteMarker bool // Is only set in DELETE operations for delete marker replication
|
||||
CheckDMReplicationReady bool // Is delete marker ready to be replicated - set only during HEAD
|
||||
Tagging bool // Is only in GET/HEAD operations to return tagging metadata along with regular metadata and body.
|
||||
|
||||
UserDefined map[string]string // only set in case of POST/PUT operations
|
||||
PartNumber int // only useful in case of GetObject/HeadObject
|
||||
|
||||
Reference in New Issue
Block a user