Quote:
Originally Posted by kovidgoyal
I can probably create a special file name including endpoint for the mobile view so it works with the Kobo. Does the filename have to be part of the path or can it be a query parameter?
|
This triggered a memory. I have run into this problem with other devices and browsers, IIRC old windows and android phones. What worked the best for me was to add a pseudo filename at the end of the "real" URL. Something like
Code:
http://foo.com:1234/real/api/stuff/foo.txt
where /foo.txt was ignored by the server. Query strings didn't work.
In a few cases I had problems if the name in the content disposition header didn't match the name in the trailing segment of the URL path. I never did figure out why.