Right now, everything gets downloaded as attachment, but we may do better. Consider either removing the Content-Disposition header, or making it inline.
Seemingly this could be done by removing the file name from the FileStream, but need experimentation. Maybe only remove that header if the MIME type is not application/octet-stream.
Right now, everything gets downloaded as attachment, but we may do better. Consider either removing the
Content-Disposition
header, or making itinline
.Seemingly this could be done by removing the file name from the
FileStream
, but need experimentation. Maybe only remove that header if the MIME type is notapplication/octet-stream
.