bee-js icon indicating copy to clipboard operation
bee-js copied to clipboard

Collection ignore entrie's content type

Open AuHau opened this issue 2 years ago • 0 comments

Currently, when uploading collection in any form (eq. using uploadCollection or uploadFiles etc.) it might seems like the user can specify entry's content type (e.g. using the new File(..., ..., {type: 'come content type'})), which then, unfortunately, is ignored because we use Tar way how to upload collection (in Bee then the content type is guessed based on extension).

As soon as https://github.com/ethersphere/bee/issues/2578 is solved I would like to migrate uploading collection using FormData which then would allow this to be solved.

AuHau avatar Oct 18 '21 14:10 AuHau