Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Medata does not set content-type for ics format after upload by Aws::S3::Object or Aws::S3::Resource.new
Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version
Version of Ruby, OS environment
To Reproduce (observed behavior)
s3obj = Aws::S3::Object.new("backet_name", 'test.ics', client: Aws::S3::Client.new(etc))
s3obj.upload_file('test.ics', acl: 'public-read')

Expected behavior
content-type have to be set automatic

Thanks for opening an issue. The Content-Type is not automatically determined for the object. When uploading the file, use the content_type param to set it to what you expect (text/calendar).
Thanks!
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Most helpful comment
Thanks for opening an issue. The
Content-Typeis not automatically determined for the object. When uploading the file, use thecontent_typeparam to set it to what you expect (text/calendar).