mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-04-01 17:35:59 +00:00
MIME types can have multiple optional parameters, eg:
video/webm; codecs="w/e codec"; charset="binary"
This commit replaces the usage of regex for getting the "type/subtype"
with mime.ParseMediaType.