-
Notifications
You must be signed in to change notification settings - Fork 124
Conversation
@@ -398,7 +398,8 @@ module.exports = (common) => { | |||
}) | |||
}) | |||
|
|||
it('round trips a non-utf8 binary buffer correctly', (done) => { | |||
// TODO: see https://github.com/ipfs/js-ipfs/pull/1081#issuecomment-345372294 | |||
it.skip('round trips a non-utf8 binary buffer correctly', (done) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests work both against js-ipfs core and js-ipfs-api. If they are failing against the http-api then it is something wrong in the http-api.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. It's the sending of a non-UTF8 buffer across HTTP. How is [0x00, 0x01] suppose to be encoded as string in the URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's almost time to raise this as issue.
@richardschneider is this still necessary for ipfs/js-ipfs#1081 (comment) ? |
@diasdavid Well these interface tests are used all over the place and we know it won't work over HTTP. It's your call. |
@richardschneider They have to work, they work over HTTP when using js-ipfs-api against go-ipfs which is how https://github.com/ipfs/js-ipfs-api gets tested |
@diasdavid Hey, great, Can you show me a |
@richardschneider did you try running |
|
this binary data problem is described here ipfs/js-ipfs#1081 (comment) and should be fixed in ipfs/js-ipfs@9d83fa3 |
Thanks to @pgte we can close this. |
See ipfs/js-ipfs#1081