ipfs/kubo

ipns gateway show resolution in headers

Open

#2,045 创建于 2015年12月7日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Go (13,906 star) (2,725 fork)batch import
help wantedkind/enhancementtopic/gateway

描述

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/<resolved-hash-here>
X-Ipfs-Path: /ipfs/<resolved-hash-here>
Date: Mon, 07 Dec 2015 16:41:41 GMT

贡献者指南