libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.58k stars 275 forks source link

http: use .well-known/libp2p.json for configuration #529

Closed marten-seemann closed 1 year ago

marten-seemann commented 1 year ago

This is slightly different from what I presented in the Moves The Bytes WG yesterday. I introduced a "services" dict entry in the JSON object. This will allow us to add more configuration to the libp2p.json in the future (and not just protocol => path mapping).

thomaseizinger commented 1 year ago

Does merging this now mean that we are going to use a .json extension? That is very non-idiomatic when it comes to HTTP.

HTTP doesn't know about files, its type-system is described via the Accept and Content-Type header.

MarcoPolo commented 1 year ago

No decision has been made. I just want to consolidate on one or two prs ( new pr coming soon)