Skip to content

How to follow recommendations for including HTTP semantics using go-multiaddr #254

Open
@hannahhoward

Description

Question:

In https://github.com/libp2p/specs/blob/master/http/transport-component.md#recommendation-on-including-http-semantics-in-multiaddrs there's a recommendation to use the private use area of multicodecs to add HTTP semantics to an HTTP multiaddr.

However, my read is that this implementation would, by default, error trying to encode/decode such multiaddrs as the protocols would not be part of the protocol table.

Is the recommendation to call AddProtocols on every machine your application runs on an add your additional protocol?

Also is this still the recommendation given http-path was later added as a default included protocol?

cc: @MarcoPolo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions