mirror of
https://gitee.com/gitea/gitea.git
synced 2024-11-30 18:57:46 +08:00
2e8fc5b034
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. |
||
---|---|---|
.. | ||
upload_test.go | ||
upload.go |