You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the file mime is application/x-mobipocket-ebook (I have updated the mimetypes file), it can download directly in Kindle. But when it is plain/txt, it will display it inline.
The text was updated successfully, but these errors were encountered:
The mime is the Content-Type response header. That should be enough to force a download, since it's a mime browsers don't typically know how to display.
I am using
nanohttpd
in Android as a http server.When the file
mime
isapplication/x-mobipocket-ebook
(I have updated the mimetypes file), it can download directly inKindle
. But when it isplain/txt
, it will display it inline.The text was updated successfully, but these errors were encountered: