Describe the feature
put_object and complete_multipart_upload both accept optional args IfMatch and IfNoneMatch. However, there is no way to currently pass these to upload_file since these parameters are missing from S3Transfer.ALLOWED_UPLOAD_ARGS.
Use Case
They need to be there so we can for example enforce that IfNoneMatch: "*" was specified to prevent overwriting existing files when using upload_file, as described here.
Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
n/a
Environment details (OS name and version, etc.)
n/a
Describe the feature
put_objectandcomplete_multipart_uploadboth accept optional argsIfMatchandIfNoneMatch. However, there is no way to currently pass these toupload_filesince these parameters are missing fromS3Transfer.ALLOWED_UPLOAD_ARGS.Use Case
They need to be there so we can for example enforce that
IfNoneMatch: "*"was specified to prevent overwriting existing files when usingupload_file, as described here.Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
n/a
Environment details (OS name and version, etc.)
n/a