File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,13 @@ arbitrary data with some encoding and pass it as a parameter to the next
72
72
component of the multiaddr. For example, we could reference a specific HTTP path
73
73
by composing ` path ` and ` urlencode ` components along with an ` http ` component.
74
74
This would look like
75
- ` /dns4/example.com/http/path/percentencode/somepath%2ftosomething ` . The
75
+ ` /dns4/example.com/http/GET/ path/percentencode/somepath%2ftosomething ` . The
76
76
` percentencode ` parses the data and passes it as a parameter to ` path ` , which
77
- passes it as a named parameter (` path=somepath/tosomething ` ). A user may not
77
+ passes it as a named parameter (` path=somepath/tosomething ` ) to a ` GET ` request . A user may not
78
78
like percentencode for their use case and may prefer to use ` lenprefixencode ` to
79
79
have the multiaddr instead look like
80
- ` /dns4/example.com/http/path/lenprefixencode/20_somepath/tosomething ` . This
81
- would work the same and require no changes to the ` path ` or ` http ` component.
80
+ ` /dns4/example.com/http/GET/ path/lenprefixencode/20_somepath/tosomething ` . This
81
+ would work the same and require no changes to the ` path ` or ` GET ` component.
82
82
It's important to note that the binary representation of the data in
83
83
` percentencode ` and ` lenprefixencode ` would be the same. The only difference is
84
84
how it appears in the human-readable representation.
You can’t perform that action at this time.
0 commit comments