Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Keep encoded media content types independent of host MIME mappings (#427) Derive content types from the supported output formats instead of the host MIME database. A host can classify .webm as audio/webm, causing video publication to fail with "invalid content type: unsupported value "audio/webm"" despite producing a WebM video. Cover a conflicting host mapping, supported formats, case-insensitive extensions, and unsupported extensions through the storage API. Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/427