ipfs-cluster/ipfsconn/ipfshttp
Adrian Lanzafame 22ec210c25
ipfsconn/ipfshttp: handle cid args passed in url path correctly
The extractCid function was added to enable the extraction of
a cid argument from either the url path or query string.
This puts the proxy behaviour on par with the current IPFS API.
The function does rely on the fact that ipfs-cluster doesn't
intercept any command that has more than one subcommand.
If that changes, this function will have to be updated.

License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-04-30 15:21:03 +10:00
..
config_test.go Feat #326: Adds "refs -r" pinning method support + multiple pin workers 2018-03-09 15:01:29 +01:00
config.go Config: provide utility to parse duration arguments. Use it. 2018-03-16 14:22:11 +01:00
ipfshttp_test.go ipfsconn/ipfshttp: handle cid args passed in url path correctly 2018-04-30 15:21:03 +10:00
ipfshttp.go ipfsconn/ipfshttp: handle cid args passed in url path correctly 2018-04-30 15:21:03 +10:00