Page MenuHomeDevCentral

Serve correctly ebook reference files
ClosedPublic

Authored by dereckson on Sep 16 2025, 21:59.
Tags
None
Referenced Files
F12379741: D3684.diff
Fri, Oct 31, 11:13
Unknown Object (File)
Mon, Oct 27, 00:38
Unknown Object (File)
Sun, Oct 26, 18:29
Unknown Object (File)
Sun, Oct 26, 10:26
Unknown Object (File)
Sat, Oct 25, 15:35
Unknown Object (File)
Sat, Oct 25, 00:20
Unknown Object (File)
Fri, Oct 24, 09:20
Unknown Object (File)
Thu, Oct 23, 13:45
Subscribers
None

Details

Summary

On Android systems, .epub ebooks are donwloaded as .txt files,
following the default text/plain type currently configured for nginx.

As the default nginx configuration for MIME types has been imported in D3683,
it's trivial now to add sections for other known MIME types to address this.

Test Plan

Download on Android, saved as .epub, not .txt

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 16 2025, 21:59
This revision was automatically updated to reflect the committed changes.