summaryrefslogtreecommitdiff
path: root/src/ui/mime.rs
Commit message (Collapse)AuthorAge
* Set `charset` params on returned content types.Owen Jacobson2024-10-22
This is a somewhat indirect change; it removes `mime_guess` in favour of some very, uh, "bespoke" mime detection logic that hardcodes mime types for the small repertoire of file extensions actually present in the UI. `mime_guess` doesn't provide a way to set params as it exports its own `Mime` struct, which doesn't provide `with_params()`.