luci-lib-httpprotoutils: add airplay mime types
Airplay of a statically hosted video file from one Apple device to another fails due to unrecognized content-type. Adding Airplay supported mime types fixes the issue. Signed-off-by: Sasha Andonov <s.andonnov@gmail.com>
This commit is contained in:
parent
938e54df17
commit
e776759549
1 changed files with 3 additions and 0 deletions
|
@ -45,10 +45,13 @@ MIME_TYPES = {
|
||||||
["mp3"] = "audio/mpeg";
|
["mp3"] = "audio/mpeg";
|
||||||
["ogg"] = "audio/x-vorbis+ogg";
|
["ogg"] = "audio/x-vorbis+ogg";
|
||||||
["wav"] = "audio/x-wav";
|
["wav"] = "audio/x-wav";
|
||||||
|
["aac"] = "audio/aac";
|
||||||
|
|
||||||
["mpg"] = "video/mpeg";
|
["mpg"] = "video/mpeg";
|
||||||
["mpeg"] = "video/mpeg";
|
["mpeg"] = "video/mpeg";
|
||||||
["avi"] = "video/x-msvideo";
|
["avi"] = "video/x-msvideo";
|
||||||
|
["mov"] = "video/quicktime";
|
||||||
|
["mp4"] = "video/mp4";
|
||||||
}
|
}
|
||||||
|
|
||||||
-- "application/octet-stream" if the extension is unknown.
|
-- "application/octet-stream" if the extension is unknown.
|
||||||
|
|
Loading…
Reference in a new issue