-
I've changed content disposition from
Content-Disposition: attachment; filename="file.txt"toContent-Disposition: inline; filename="file.txt"which allows for previews and if you try to save such file it gets name as advertised infilenamepart of the content disposition header.
| Type |
New Feature
|
| Priority |
Blocker
|
| Assignee | |
| RedmineID |
8458
|
| Version |
tigase-server-8.1.0
|
Issue Votes (0)
Watchers (0)
Currently images are served with
Content-Dispositionset toattachmentwhich causes browsers to open download dialog instead of displaying the image. Switching it toinlinewould fix that problem.IMVHO if the client offers image preview and wants to allow user downloading the image then instead of using
Content-Disposition: attachmentthe client should offer option to download/save image.