You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ipips/ipip-0351.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ editors:
6
6
- name: Henrique Dias
7
7
github: hacdias
8
8
url: https://hacdias.com/
9
+
- name: Marcin Rataj
10
+
github: lidel
11
+
url: https://lidel.org/
9
12
relatedIssues:
10
13
- https://github.com/ipfs/specs/issues/320
11
14
- https://github.com/ipfs/specs/pull/351
@@ -33,15 +36,29 @@ under the `/ipns` namespace.
33
36
34
37
In this IPIP, we propose adding :cite[ipns-record] as a response
35
38
format to the gateway under the `/ipns` namespace, allowing for trustless
36
-
retrieval of IPNS records.
39
+
retrieval of IPNS records over HTTP as [application/vnd.ipfs.ipns-record](https://www.iana.org/assignments/media-types/application/vnd.ipfs.ipns-record) content type (multicodec `0x0300`).
37
40
38
41
## Detailed design
39
42
40
-
The solution is to allow the Gateway to provide an IPNS signed record by
41
-
requesting it using either the `Accept` HTTP header or the `format` URL query.
43
+
-:cite[trustless-gateway] can now provide a signed IPNS record upon request for `/ipns/{ipns-name}` path.
44
+
- To request the IPNS record, use one of the following methods:
45
+
- Include the `Accept: application/vnd.ipfs.ipns-record` HTTP header in the request.
46
+
- Include the `format=ipns-record` query parameter in the request URL.
47
+
- The HTTP response containing the verifiable IPNS record will have the following format:
0 commit comments