I've been HTMLing over half my life now (what a thing to say) and only today I learn there's a `download` attribute for the anchor tag. You can just straight up say "this link should be downloaded" instead of doing some content-disposition header?
download attribute: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download
content-disposition https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.