You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ListObjects is used with the WithMetadata: true option the returned UserMetadata is not decoded to what was set via PutObject and what GetObject and StatObject would return.
For StatObject UserMetadata contains exactly the same entries that were saved via PutObject. The UserMetadata returned by ListObjects still has a X-Amz-Meta-prefix for the keys and an additional content-type and expires entries.
The text was updated successfully, but these errors were encountered:
The input is taken in user-friendly form, and as x-and-meta-(tag) - list objects return the exact value present on the object. @klauspost we can return a UserFriendly form in a separate value.
But its not necessary since the library supports both x-amz-meta-tag and tag interchangeably.
Yeah. Would be nice for it to be symmetric, but we can expect code to rely on the full header key to be out there, so a separate field would be needed.
When ListObjects is used with the
WithMetadata: true
option the returned UserMetadata is not decoded to what was set via PutObject and what GetObject and StatObject would return.Output:
For StatObject UserMetadata contains exactly the same entries that were saved via PutObject. The UserMetadata returned by ListObjects still has a
X-Amz-Meta-
prefix for the keys and an additionalcontent-type
andexpires
entries.The text was updated successfully, but these errors were encountered: