You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
fix: allow put empty block & add X-Stream-Output header on get
This PR allows the test in ipfs-inactive/interface-js-ipfs-core#308 to pass.
X-Stream-Output header is added to block.get reply for parity with go-ipfs.
block.put is altered to allow an empty block to be put (again for fetaure parity with go-ipfs) but only if there is a multipart file part for it. Error responses have also been improved.
refs ipfs-inactive/js-ipfs-http-client#789
tested by ipfs-inactive/interface-js-ipfs-core#308
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
0 commit comments