fsspec / ipfsspec

readonly python fsspec implementation for IPFS
MIT License
21 stars 10 forks source link

use CAR requests when requesting directory listings and file info #40

Open d70-t opened 1 week ago

d70-t commented 1 week ago

As shown in #39, some gateways won't accept raw format in requests including a path. This PR uses car requests instead and fixes #39.

This fix is still a bit ugly, as it doesn't use the additional blocks in the returned CAR to verify the correctness of the response.