-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
Currently, libraries are implementing /http while it hasn't been defined 1 2. We should catch up with the implementations and define it, then implement the behaviour.
As far as I know:
- Can be be wrapped within
/tlsto supporthttps. - Is a path protocol (as
/unix), meaning no further multiaddrs can follow specifying/http/a/b/cas we don't know when it ends. This is a general problem for path protocols (currently just/unix) - Unsure of how to deal with complex strings that contains
?,/and other characters that might confuse multiaddr. Encode them maybe?
Examples:
https://1.2.3.4:5001/api=>/ip4/1.2.3.4/tcp/5001/tls/http/apihttp://1.2.3.4/api=>/ip4/1.2.3.4/tcp/80/http/apihttp://1.2.3.4=>/ip4/1.2.3.4/tcp/80/httphttp://1.2.3.4/api/=>/ip4/1.2.3.4/tcp/80/http/api/(keeping trailing slash)
Issues mentioning /http and /tls/http (https)
vasco-santos, bobheadxi, swedneck and lordcirth
Metadata
Metadata
Assignees
Labels
No labels