RangerMauve / hypercore-fetch

Implementation of Fetch that uses the Hyper SDK for loading p2p content
MIT License
37 stars 13 forks source link

return the associated public key in the url #26

Closed resession closed 2 years ago

resession commented 2 years ago

with a post request using ipfs, the cid is return in the url, i think it would be great if we can do the same thing with hypercore-fetch. for example, PUT hyper://test/test.txt should return hyper://somePubKeyHere/test.txt. as of right now, we can get the pubkey from the Link header but returning it with the url seems more direct and easier.

RangerMauve commented 2 years ago

Out in the latest version!