This repository was archived by the owner on Jan 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
HTTP probing: support /tls/http multiaddrs #139
Copy link
Copy link
Open
Labels
good first issue 🤗Good for newcomersGood for newcomers
Description
According to libp2p specs both /https and /tls/http are valid multiaddr for HTTPS providers (libp2p specs), but spark only tests /https:
spark-checker/test/multiaddr.test.js
Lines 5 to 23 in 799cc5e
| const HAPPY_CASES = [ | |
| ['/ip4/127.0.0.1/tcp/80/http', 'http://127.0.0.1'], | |
| ['/ip4/127.0.0.1/tcp/8080/http', 'http://127.0.0.1:8080'], | |
| ['/ip4/127.0.0.1/tcp/443/https', 'https://127.0.0.1'], | |
| ['/ip4/127.0.0.1/tcp/8080/https', 'https://127.0.0.1:8080'], | |
| ['/dns/meridian.space/tcp/8080/http', 'http://meridian.space:8080'], | |
| ['/dns4/meridian.space/tcp/8080/http', 'http://meridian.space:8080'], | |
| ['/dns6/meridian.space/tcp/8080/http', 'http://meridian.space:8080'], | |
| [ | |
| '/dns/meridian.space/https/http-path/%2Fipni-provider%2FproviderID', | |
| 'https://meridian.space/ipni-provider/providerID', | |
| ], | |
| ['/dns/meridian.space/https/http-path/', 'https://meridian.space'], | |
| ['/dns/meridian.space/https/http-path', 'https://meridian.space'], | |
| ['/dns/meridian.space/https', 'https://meridian.space'], | |
| ['/dns/meridian.space/http', 'http://meridian.space'], | |
| ['/ip4/127.0.0.1/http', 'http://127.0.0.1'], | |
| ['/ip4/127.0.0.1/https', 'https://127.0.0.1'], | |
| ] |
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issue 🤗Good for newcomersGood for newcomers
Type
Projects
Status
No status