I noticed a difference in the data I get with get vs cat. Using this example CID, QmYPP3BovR2m8UqCZxFbdXSit6SKgExxDkFAPLqiGsap4X, which is 17091 bytes (confirmed via ipfs get and ipfs cat using go-ipfs v0.14.0):
get returns 18944 bytes, cat returns 17091 bytes. The extra bytes for get seem to be at the beginning, I believe the response is a TAR. MIME type detection tells me it's application/x-tar.
Looking at the corresponding Go client, they indeed extract the response through tar.
I opened an issue for this in the IPFS docs repo: ipfs/ipfs-docs#1285
I noticed a difference in the data I get with
getvscat. Using this example CID,QmYPP3BovR2m8UqCZxFbdXSit6SKgExxDkFAPLqiGsap4X, which is17091bytes (confirmed viaipfs getandipfs catusing go-ipfs v0.14.0):getreturns18944bytes,catreturns17091bytes. The extra bytes forgetseem to be at the beginning, I believe the response is a TAR. MIME type detection tells me it'sapplication/x-tar.Looking at the corresponding Go client, they indeed extract the response through tar.
I opened an issue for this in the IPFS docs repo: ipfs/ipfs-docs#1285