add IfMatch and IfNoneMatch to S3Transfer.ALLOWED_UPLOAD_ARGS #4366
Labels
feature-request
This issue requests a feature.
p3
This is a minor priority issue
response-requested
Waiting on additional information or feedback.
s3
Describe the feature
put_object
andcomplete_multipart_upload
both accept optional argsIfMatch
andIfNoneMatch
. However, there is no way to currently pass these toupload_file
since 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
The text was updated successfully, but these errors were encountered: