View Single Post
Old 06-04-2017, 07:55 AM   #417
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by kovidgoyal View Post
I committed some code to use a URL with the filename in the /mobile page. Hopefully that fixes the Kobo. I left the content-disposition header in there.
To fast And content-disposition header is OK as it was there with the old server.

That has fixed it. But, (you knew there was going to be one) kepubs don't downoad. Unfortunately, these need to have the extension as ".kepub.epub". There was code in the old server to do this if the user agent was the Kobo browser.

Edit: Need "ext.lower()" in the test in book_filename.

Last edited by davidfor; 06-04-2017 at 08:24 AM.
davidfor is offline   Reply With Quote