1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 00:28:17 +00:00
forgejo/modules/typesniffer
wxiaoguang ced34bab1a
Detect ogg mime-type as audio or video ()
"ogg" is just a "container" format for audio and video.

Golang's `DetectContentType` only reports "application/ogg" for
potential ogg files.

Actually it could do more "guess" to see whether it is a audio file or a
video file.
2023-08-15 10:31:25 +08:00
..
typesniffer.go Detect ogg mime-type as audio or video () 2023-08-15 10:31:25 +08:00
typesniffer_test.go Detect ogg mime-type as audio or video () 2023-08-15 10:31:25 +08:00