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

chore: ignore response body for some mfs commands #805

Merged
merged 1 commit into from
Jul 5, 2018

Conversation

achingbrain
Copy link
Collaborator

Most of the mfs commands have no response body but our client returns the response object that then has a stream which resolves to an empty string. This causes problems with the interop tests as you can't easily compare the two response objects so we should probably just ignore the response of any method we know will either return an error or nothing at all.

Also makes invocations over http consistent with invoking core directly.

@alanshaw alanshaw merged commit b604a64 into master Jul 5, 2018
@ghost ghost removed the in progress label Jul 5, 2018
@alanshaw alanshaw deleted the ignore-response-body branch July 5, 2018 07:35
danieldaf pushed a commit to danieldaf/js-ipfs-api that referenced this pull request Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants