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
{{ message }}
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
Hello, my objects are created with the wrong content-type and I'd like to change that. The code runs fine and gives no errors, still the metadata is not changed. Here's my code, note that setAsPublicRead works and keys are indeed publicly accessible.
case Some(key) =>
key.setAsPublicRead()
key.metadata.setContentType("text/plain")
val meta = key.getObjectMetadata
meta.setContentType("text/plain")
val userMeta = new java.util.HashMap[String, String]
userMeta.put("test-key", "test-value")
meta.setUserMetadata(userMeta)
key.setObjectMetadata(meta)
Hello, my objects are created with the wrong content-type and I'd like to change that. The code runs fine and gives no errors, still the metadata is not changed. Here's my code, note that
setAsPublicRead
works and keys are indeed publicly accessible.Issue #89 might be related
The text was updated successfully, but these errors were encountered: