miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 727 forks source link

Content-Disposition header for proxified media URLs #2916

Closed phauxcamus closed 3 weeks ago

phauxcamus commented 3 weeks ago

When you download/save proxified media, the original filename is lost. That information could be retained by passing a header like Content-Disposition: inline; filename="ORIGNAL_FILENAME.EXT" when serving the media file. The requested URL would still be obfuscated but if the client downloads the file it'll use that original filename. The inline parameter could be changed to download if you were proxifing the External Link URL instead of an embedded item (which would tell the client to download instead of displaying in-browser).