View Single Post
Old 08-15-2015, 10:58 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
As discussed in that thread, files that use "Content-Disposition: attachment" will not open in the builtin PDF viewer in Firefo and presumably Chrome.

I can confirm calibre delivers files using "Content-Disposition: attachment".

Code:
[eschwartz@arch ~]$ curl -I "http://127.0.0.1:8080/get/pdf/Clan%20Rathskeller%20-%20Kevin%20Hearne_726.pdf"
HTTP/1.1 200 OK
Content-Length: 151661
Content-Disposition: attachment; filename="Clan Rathskeller - Kevin Hearne_726.pdf"
Server: calibre/2.34.0.r24.g66b9085
Last-Modified: Thu, 06 Aug 2015 05:05:32 GMT
Date: Sun, 16 Aug 2015 02:55:10 GMT
Content-Type: application/pdf
eschwartz is offline   Reply With Quote