anusii / solidpod

MIT License
1 stars 2 forks source link

SOLID POD: Read and write binary data #186

Closed cdawei closed 4 months ago

cdawei commented 5 months ago

The readPod() and writePod() implicitly requires the data to read/write is a string.

However, this won't be the case when reading / writing EEG data. Solidpod needs to support the read / write of binary data (i.e. bytes) in addition to text data.

cdawei commented 4 months ago

Please follow the below steps to test.

Uploading upload

After testing upload, download, and delete test_all

gjwgit commented 4 months ago

Tested. Works as advertised.

cdawei commented 4 months ago

Note that A container can only be deleted if it contains no resources. as per https://github.com/solid/solid-spec/blob/master/api-rest.md#deleting-containers

cdawei commented 1 month ago

Note that this implements a workaround to issue https://github.com/anusii/solidpod/issues/214