Edit: running this as a dependency for a graph-node and tests still not passing... not sure if something else is wrong about IPFS 0.5 compat, so putting this in draft form for now.
Edit 2: graph-node tests pass when using this changeset alongside IPFS v0.4.23. At the very least, this will make the library requests compatible with IPFS v0.5. There is some deeper semantic change that is causing tests to fail downstream, but this is outside the scope of this PR, so therefore, since these changes preserve compatibility with IPFS v0.4.23 but also gets rid of the 405 Method Not Allowed error that pops up when using GET with IPFS v0.5, this is no longer a draft request.
Should fix #49
Edit: running this as a dependency for a graph-node and tests still not passing... not sure if something else is wrong about IPFS 0.5 compat, so putting this in draft form for now.
Edit 2: graph-node tests pass when using this changeset alongside IPFS v0.4.23. At the very least, this will make the library requests compatible with IPFS v0.5. There is some deeper semantic change that is causing tests to fail downstream, but this is outside the scope of this PR, so therefore, since these changes preserve compatibility with IPFS v0.4.23 but also gets rid of the 405 Method Not Allowed error that pops up when using GET with IPFS v0.5, this is no longer a draft request.