https://bugs.freedesktop.org/show_bug.cgi?id=60415

--- Comment #13 from Anton <[email protected]> ---
I have my own web application written on RoR and I experience the same problem.

The standard way of doing it on rails is to use "send_data" method:
        send_data @mypicture.attachment, :filename => @mypicture.filename,
:type => "image/png" , :disposition => "inline"

The response headers as below:

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 12 Feb 2014 09:09:44 GMT
Content-Type: image/png
Connection: keep-alive
Keep-Alive: timeout=20
Content-Disposition: inline; filename="test.png"
Content-Transfer-Encoding: binary
Cache-Control: private
X-UA-Compatible: IE=Edge
ETag: "98fa6263bc3bba108e332e0696c53470"
X-Request-Id: 3c3fc2493268c96d8c5c737ab13d9f06
X-Runtime: 0.091414
Content-Length: 243515

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to