tus / tus-node-server

Node.js tus server, standalone or integrable in any framework, with disk, S3, and GGC stores.
https://tus.io/
MIT License
805 stars 199 forks source link

@tus/s3-store: Doesn't work with R2 #551

Closed push1st1k closed 8 months ago

push1st1k commented 8 months ago

After upgrading to the 1.2.0 version it's not possible to upload files to R2 anymore due to added 'Tagging' header. The error message is: The header 'x-amz-tagging' is not supported by R2 (it's really not supported by R2 https://developers.cloudflare.com/r2/api/s3/api/).

This PR introduced that new 'Tagging' header.

It would be great to detect which provider (S3 or R2) is used or add an option to configure that.

Murderlon commented 8 months ago

Thanks for the issue. We'll take a look.

Duplicate of https://github.com/tus/tus-node-server/issues/538