Skip to content

Conversation

@d70-t
Copy link
Collaborator

@d70-t d70-t commented Oct 14, 2024

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.

d70-t added 2 commits October 15, 2024 00:52
Trustless gateways may not always return raw IPLD blocks when a path is
requested. They should however always return car.

Fixes #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ls / listdir fails when using a public gateway because a non-CID path is requested

2 participants