Open oeway opened 3 years ago
Hi Wei,
You can find the implementation here: https://github.com/gzuidhof/zarr.js/blob/master/src/storage/httpStore.ts#L58-L68. I wouldn't be surprised if you were one of the first to write to a remote server using the HTTPStore so it's a bit of an uncharted territory (without any examples).
What fetch errors are you seeing (in the Network tab in your browser)? Is it the webserver rejecting the message, or is it something internal to zarr/httpstore going wrong?
Hi, I am trying to use the HTTPStore to write zarr array to remote servers (where I implemented the
PUT
method), however I couldn't find any example for doing it for HTTPStore.This is what I have so far:
I tested with this, but it failed at "fetcing https://my-website.io/123/mydata.zarr/.zarray" (when calling
containsItem
), I tried to setoverwrite: true
, but it said not implemented yet.