• Vasily Naumkin's avatar
    Do not force downloading of shared public files (#9412) · 74c92237
    Vasily Naumkin authored
    I believe we don't need to force downloading of shared public files, because `writeFileResponse` method will compare its MIME type with `MEDIA_CONTENT_TYPES` and output it inline or as attachment automatically.
    
    Usually we are share images and it is much more convenient to see them without downloading.
    74c92237
file.go 10.5 KB