Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

implement get #263

Closed
daviddias opened this issue May 4, 2016 · 6 comments
Closed

implement get #263

daviddias opened this issue May 4, 2016 · 6 comments

Comments

@daviddias
Copy link
Contributor

Currently, js-ipfs-api doesn't have get implemented. We will be needing it for js-ipfs

//cc @Voxelot

@fbaiodias
Copy link
Contributor

Started having a look at this, but couldn't figure out what 0000644000000000000000000000001412655500300016646 0ustar0000000000000000 means on the HTTP response 😟

Do you have any idea what this could be @diasdavid @RichardLitt?

@daviddias
Copy link
Contributor Author

I believe that is a serialized protobuf of a MerkleDAG Node https://github.com/vijayee/js-ipfs-merkle-dag/blob/master/src/dag-node.js#L171

@nginnever
Copy link
Contributor

hey @xicombd! I am also working on this and was wondering the same thing.

I think it has to do with tar compression. Looking into it more now.

@RichardLitt
Copy link
Contributor

It is a .tar file, and should be returned with application/x-tar header. See ipfs/kubo#1824.

@nginnever
Copy link
Contributor

Added the ideas here to PR 271

@daviddias
Copy link
Contributor Author

Done in #337 \o/ :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants