Commit Graph

6 Commits

Author SHA1 Message Date
Marcin Rataj
fd01acdfc0
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:
https://github.com/ipfs/go-ipfs/pull/4177#issuecomment-414870327
2020-09-16 22:15:18 +02:00
Steven Allen
e6968c9f22 doc(gateway): document dnslink 2019-11-15 16:53:25 -08:00
Steven Allen
9886fc06fc switch to base32 by default for CIDv1
fixes #6220

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-13 10:57:53 -07:00
Steven Allen
f21b4cd30a docs: add some minimal read-only API documentation
fixes #5436

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-06 17:47:11 -07:00
Steven Allen
d5f67d5d7e fix the default gateway port
reported by @sixcorners in
https://github.com/ipfs/go-ipfs/pull/5393#issuecomment-417908209

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-02 09:37:43 -07:00
Steven Allen
1af6717eff add some basic gateway documentation
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-20 15:53:10 -07:00