Is your feature request related to a problem? Please describe.
The Content-Disposition: attachment header causes files to always be downloaded (at least in firefox), this isn't always the desired behaviour. When sharing images, for example, I largely want to show them in the browser rather than have them be downloaded.
Describe the solution you'd likeAn option to control this would be ideal, maybe like the existing global config options?
Describe alternatives you've considered
Perhaps scope this header to specific types? I.E. not images and text files
Removing it would be another option, likely undesirable.
Is your feature request related to a problem? Please describe. The
Content-Disposition: attachment
header causes files to always be downloaded (at least in firefox), this isn't always the desired behaviour. When sharing images, for example, I largely want to show them in the browser rather than have them be downloaded.Describe the solution you'd like An option to control this would be ideal, maybe like the existing global config options?
Describe alternatives you've considered Perhaps scope this header to specific types? I.E. not images and text files
Removing it would be another option, likely undesirable.
Additional context N/A