-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3::Object upload_file content_type option not recognized #684
Comments
Thanks for reporting the issue. I've applied a fix that should go out with this week's release. |
Sweet!
|
Am getting
|
@KranthiKishore the Try the following: object.upload_file('/home/kranthi/projects/hubkit/example_output.csv', acl: 'public-read') |
What's the syntax then? Currently I've got: obj.put(file_name, contents, {}, "authenticated-read") |
The s3 object
upload_file
method fails when uploading a ~16MB file using multi-part upload when I set acontent_type: 'video/mp4'
option on theupload_file
method. The error is:Also see attached screenshot.
The upload works correctly, even with the
content_type
option, if I use theput
method instead.The text was updated successfully, but these errors were encountered: