We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bbf10a + bca9d3e commit b5f6b90Copy full SHA for b5f6b90
src/main/java/io/ipfs/api/IPFS.java
@@ -739,7 +739,7 @@ private List<Object> getAndParseStream(String path) throws IOException {
739
}
740
741
private InputStream retrieveStream(String path) throws IOException {
742
- URL target = new URL("http", host, port, version + path);
+ URL target = new URL(protocol, host, port, version + path);
743
return IPFS.getStream(target, timeout);
744
745
0 commit comments