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.
release
Gabriel Vasile2021-11-27 13:12:43 +02:00committed byGitHub