kubo/core
Dennis Trautwein 36368ee4dd feat: support requests from registerProtocolHandler
This commit adds support for requests produced by navigator.registerProtocolHandler on gateways. Now one can register `dweb.link` as an URI handler for `ipfs://`:

```
navigator.registerProtocolHandler('ipfs', 'https://dweb.link/ipfs/?uri=%s', 'ipfs resolver')
```

Then opening `ipfs://QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR` will produce an HTTP GET call to:

```
https://dweb.link/ipfs?uri=ipfs%3A%2F%2FQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
```

The query parameter `uri` will now be parsed and the given content identifier resolved via:

`https://dweb.link/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR`
2021-01-14 20:52:04 +01:00
..
bootstrap fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
commands code review changes 2021-01-14 02:29:11 -08:00
coreapi fix: return an error when an unknown object type is passed 2020-11-30 17:59:37 -08:00
coredag gx: unrewrite 2019-03-05 18:33:56 +01:00
corehttp feat: support requests from registerProtocolHandler 2021-01-14 20:52:04 +01:00
corerepo fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
coreunix Fix typos and cleanup 2020-04-20 22:00:01 +03:00
mock fix: run tests in "dht server" mode 2020-04-09 23:07:27 -07:00
node Use datastore based pinner 2020-12-04 15:33:31 -05:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go fix: get rid of shutdown errors 2020-03-29 20:48:43 -07:00
core_test.go quic: remove experimental status and add it to the default config 2020-05-22 04:54:19 +02:00
core.go feat: implement peering service 2020-05-25 20:24:41 -07:00