Skip to content

Commit 95ffe6d

Browse files
committed
Update to http-path
1 parent dc71f2c commit 95ffe6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ string encoded representation of the multiaddr. E.g. the multiaddr
136136
`/ip4/1.2.3.4/udp/54321/quic-v1` would be represented as
137137
`multiaddr:/ip4/1.2.3.4/udp/54321/quic-v1`.
138138

139-
This URI can be extended to include HTTP paths with the `/httppath` component.
139+
This URI can be extended to include HTTP paths with the `/http-path` component.
140140
This allows a user to make an HTTP request to a specific HTTP resource using a
141141
multiaddr. For example, a user could make a GET request to
142-
`multiaddr:/ip4/1.2.3.4/udp/54321/quic-v1/p2p/12D.../httppath/.well-known%2Flibp2p`. This also allows
142+
`multiaddr:/ip4/1.2.3.4/udp/54321/quic-v1/p2p/12D.../http-path/.well-known%2Flibp2p`. This also allows
143143
an HTTP redirect to another host and another HTTP resource.
144144

145145
## Using other request-response semantics (not HTTP)

0 commit comments

Comments
 (0)