Skip to content

IPFS, Arweave and Ordinals Support #2

@TechnicallyWeb3

Description

@TechnicallyWeb3

Once redirects work properly we will need to incorporate various decentralized storage protocols.

This should happen during 301, 302, 307 or 308 redirects. Using the header you should be able to determine where the file is located using the Location-Type. If you get ipfs/file you should use IPFS to bundle the data with the response. Likewise arweave/file and ordinals/file are also valid location types. The body data will be the Location link/CID/Hash which should be enough data to retrieve the file/data.

How I would do it:
I would probably let the executeRequest run and analyze the response
Check for a redirect code or a location-type
If redirect is set to follow, return the data from corresponding storage protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions