-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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
Labels
No labels