Skip to content

Have all protocols return "canonical" urls when possible in headers #192

Open
@RangerMauve

Description

@RangerMauve

It'd be useful if protocols such as ipns/ipfs/hyper would return "canonical" urls for data that gets fetched whenever possible.

This behavior would include:

  • For cases when content at a subpath is individually addressible (such as IPFS/IPNS), the raw URL should be provided
  • For cases where a hostname is used to reference some data (e.g. hyper://example.com), the raw public key should be exposed.

This would make it easier to pluck out raw data from higher level abstractions (like raw file URLs from IPNS based datasets).

Ideally this would be in the Content-Location response header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthyperhypercore-protocol relatedipfsipfs / ipns related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions