Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gateway): ?filename with download=true
This implements 'attachment' mode triggered then ?filename parameter is accompanied with &download=true When Content-Disposition: attachment is detected by a modern browser it will skip rendering and immediately open the "save as" dialog, making this useful feature for using IPFS gateway as target of "Download" links on various websites. Parameter name was suggested in: ipfs/kubo#4177 (comment) This commit was moved from ipfs/kubo@fd01acd
- Loading branch information