-
Notifications
You must be signed in to change notification settings - Fork 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 Non-multipart location #4618
Comments
Does this fix your issue: #4614? |
I don't think so. Cloudflare R2 in particular does not return a correct Location header, it returns the region |
See this issue why we don't support Cloudfare R2 (until they provide a fix on their end): #4505 Closing as duplicate. |
Actually both issues (#4514, #4505) are for multipart and not Cloudflare R2-specific, my bad. Non-multipart upload (which is In short, the issue is not R2-specific and Uppy should support a |
Doesn't this solve your issue: #4614 There is also a test in it for non multipart uploads. |
The |
Initial checklist
Problem
When hooking
completeMultipartUpload
, you can return alocation
string to display a link in Dashboard.https://uppy.io/docs/aws-s3-multipart/#completemultipartuploadfile--uploadid-key-parts-
However, this is not present in
getUploadParameters
: https://uppy.io/docs/aws-s3-multipart/#getuploadparametersfile-options(Side note: getUploadParameters doesn't actually pass
option
, that might be an oversight in the documentation?)Solution
Allow
getUploadParameters
to return alocation
property.Alternatives
Maybe have a
getLocation(key)
function in the S3 plugin?The text was updated successfully, but these errors were encountered: