Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,8 @@ def exist?(key) | |
def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:) | ||
instrument :url, key: key do |payload| | ||
generated_url = object_for(key).presigned_url :put, expires_in: expires_in.to_i, | ||
content_type: content_type, content_length: content_length, content_md5: checksum, **upload_options | ||
content_type: content_type, content_length: content_length, content_md5: checksum | ||
whitelist_headers: ['content-length'], **upload_options | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
robzolkos
Contributor
|
||
|
||
payload[:url] = generated_url | ||
|
||
|
@rafaelfranca should this commit have been included in 6.0.3.1? Looks like it wasn't (I could be wrong)