Added
- Allow downloading files via
?download=true
parameter- If you specify this for a file (e.g.
<server_address>/file?download=true
),rustypaste
will override the MIME type toapplication/octet-stream
and this will force your browser to download the file. - This is useful when e.g. you want to be able to share the link to a file that would play in the browser (like
.mp4
) but also share a link that will auto-download as well.
- If you specify this for a file (e.g.