openvibers/openvibe.media Commits

Media S3: the routes header lists CopyObject and UploadPartCopy (built in #113) (#123)

OP OpenVibers committed 29 days ago · c769b9997d · 1 file, +2 −1

The S3 routes' header comment still listed copy and part copy under NotImplemented. They have been implemented since #113, so the comment now lists them with the operations. Comment only.

Changes

ddiff --git a/server/s3/routes.js b/server/s3/routes.js
iindex 793483c..39f6a0b 100644
---- a/server/s3/routes.js
++++ b/server/s3/routes.js
@@@ -17,7 +17,8 @@
* GET /<zone>/<key> GetObject (Range)
* HEAD /<zone>/<key> HeadObject
* DELETE /<zone>/<key> DeleteObject (Media's soft delete; refused under a retention hold)
-- * everything else NotImplemented (copy, part copy, ACLs, policies, versioning, bucket deletion)
++ * PUT /<zone>/<key> + x-amz-copy-source CopyObject; with ?partNumber&uploadId UploadPartCopy (server-side copies)
++ * everything else NotImplemented (ACLs, policies, versioning, bucket deletion)
*
* Every request is signed (SigV4, header or presigned) with an access key (server/s3/keys.js). The key fixes the
* project and environment, so a bucket name resolves to one zone id of that environment (server/s3/zones.js); a key