-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
help wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request
Description
The putObject() API as implemented in #1 requires a Content-Length request header (https://developers.digitalocean.com/documentation/spaces/#object), the request will be rejected when this request header is not present.
As an alternative, we might take advantage of multipart uploads (https://developers.digitalocean.com/documentation/spaces/#begin-multi-part-upload) by buffering some data (minimum chunk size >5MB) and then processing it like a "chunk" while buffering the next chunk. Implementation-wise this probably isn't trivial, but certainly doable.
Personally, my use cases are solved by explicitly passing in the file size as an additional argument, but this might still be interesting in the future.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needednew featureNew feature or requestNew feature or request