ipfs / ipfs/kubo

ipns gateway show resolution in headers

Open
#2,045 7 comments 0 reactions 0 assignees View on GitHub
help wanted kind/enhancement topic/gateway
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

would be nice if the headers of the http request to a `/ipns/...` path showed the resolution steps:

```
> curl -I http://voxelot.us/ipns/foo.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Content-Length: 4438
Content-Type: text/html; charset=utf-8
Last-Modified: Mon, 07 Dec 2015 16:41:41 GMT
Suborigin: foo.com
X-Ipns-Path: /ipns/foo.com
X-Ipns-Resolution: /ipns/foo.com /ipns/QmUqBf56JeGUvuf2SiJNJahAqaVhFSHS6r9gYk5FbS4TAn /ipfs/
X-Ipfs-Path: /ipfs/
Date: Mon, 07 Dec 2015 16:41:41 GMT
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.