This repository was archived by the owner on Sep 28, 2021. It is now read-only.
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
Add Suborigin, Etag and X-Ipfs-Path headers #10
Open
Description
I feel we should aim at header-parity with go-ipfs.
To future-proof it, it should be CIDv1 in Base32 everywhere:
$ curl -I https://ipfs.io/ipfs/bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy
...
Etag: "bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy"
X-Ipfs-Path: /ipfs/bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy
Suborigin: ipfs000bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy
Notes regarding Suborigin:
Additionally, resources from /ipfs/
namespace should be returned with immutable
flag:
Cache-Control: public, max-age=29030400, immutable