mnutt / davros

Personal file storage server
Apache License 2.0
297 stars 35 forks source link

"Download Original" link doesn't cause a download #109

Open QJKX opened 4 years ago

QJKX commented 4 years ago

I think it's missing a Content-Disposition header.

Examples: https://stackoverflow.com/questions/20508788/do-i-need-content-type-application-octet-stream-for-file-download/20509354#20509354

It would be nice to keep the current behavior too with a link next to "Download Original" of "View Inline", but accompanied with a corresponding "inline" Content-Disposition header.

ocdtrekkie commented 4 years ago

Do you want to try this again in 0.26.1, released today?