libresilient/plugins/gun-ipfs
Michał 'rysiek' Woźniak d96022f870 mentions of MIME type guessing in IPFS based plugins' documentation (ref. #62) 2023-11-12 13:20:42 +00:00
..
__tests__ MIME type sniffing 2023-11-10 21:08:03 +00:00
README.md mentions of MIME type guessing in IPFS based plugins' documentation (ref. #62) 2023-11-12 13:20:42 +00:00
index.js MIME type sniffing 2023-11-10 21:08:03 +00:00

README.md

Plugin: gun-ipfs

This plugin uses GunDB as a source of information on current IPFS CIDs of content, and retrieves that content using JS IPFS.

Configuration

TBD

Operation

TBD

Content Type of retrieved content

Content retrieved from IPFS does not have a Content-Type header set. To work around this, the plugin takes advantage of the LibResilient's guessMimeType() API. Please have a look at that documentation to understand how to use it most effectively.