Commit fc5cb54 1 parent e4e5754 commit fc5cb54 Copy full SHA for fc5cb54
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
title : libp2p+HTTP Transport Gateway Specification
3
3
description : >
4
4
Describes how HTTP Gateway semantics can be used over libp2p transports.
5
- date : 2023-10-04
5
+ date : 2024-04-20
6
6
maturity : draft
7
7
editors :
8
8
- name : Adin Schmahmann
@@ -34,16 +34,16 @@ The [libp2p+HTTP specification](https://github.com/libp2p/specs/pull/508)
34
34
describes how to use HTTP semantics over stream transports, as well as how
35
35
to do discovery of what protocols are available (and where they are mounted).
36
36
37
- ### ` .well-known/libp2p `
37
+ ### ` .well-known/libp2p/protocols `
38
38
39
39
libp2p application sub-protocols exposed behind ` /http/1.1 ` protocol can be
40
- discovered by the well-known resource (: cite [ rfc8615] ) at ` .well-known/libp2p ` .
40
+ discovered by the well-known resource (: cite [ rfc8615] ) at ` .well-known/libp2p/protocols ` .
41
41
42
42
#### Protocol identifier
43
43
44
44
In order for a given HTTP Gateway protocol like the : cite [ trustless-gateway] to
45
45
work in this environment it requires a protocol identifier to act as a key in
46
- the ` .well-known/libp2p ` mapping file.
46
+ the ` .well-known/libp2p/protocols ` mapping file.
47
47
48
48
The ` /http/1.1 ` sub-protocol identifier for the IPFS Gateway when used over libp2p is:
49
49
@@ -53,7 +53,7 @@ The `/http/1.1` sub-protocol identifier for the IPFS Gateway when used over libp
53
53
54
54
#### Protocol mounting
55
55
56
- A reference ` .well-known/libp2p ` JSON body with mapping that assumes the gateway to be mounted at ` / ` :
56
+ A reference ` .well-known/libp2p/protocols ` JSON body with mapping that assumes the gateway to be mounted at ` / ` :
57
57
58
58
``` js
59
59
{
You can’t perform that action at this time.
0 commit comments