Page MenuHomeDevCentral

Serve correctly ebook reference files
ClosedPublic

Authored by dereckson on Sep 16 2025, 21:59.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 17:54
Unknown Object (File)
Fri, Mar 20, 09:52
Unknown Object (File)
Wed, Mar 18, 18:17
Unknown Object (File)
Wed, Mar 18, 18:17
Unknown Object (File)
Wed, Mar 18, 11:19
Unknown Object (File)
Mon, Mar 16, 14:43
Unknown Object (File)
Mon, Mar 16, 14:43
Unknown Object (File)
Mon, Mar 16, 10:02
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 Passed
Unit
No Test Coverage
Branch
fix-mime-types
Build Status
Buildable 5900
Build 6182: arc lint + arc unit

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.