forked from LBRYCommunity/lbry-sdk
Fix / Add correct mimetypes for HLS / DASH
This commit is contained in:
parent
eedcc2034d
commit
7f375f42d8
1 changed files with 4 additions and 2 deletions
|
@ -46,8 +46,8 @@ types_map = {
|
||||||
'.ksh': ('text/plain', 'document'),
|
'.ksh': ('text/plain', 'document'),
|
||||||
'.latex': ('application/x-latex', 'binary'),
|
'.latex': ('application/x-latex', 'binary'),
|
||||||
'.m1v': ('video/mpeg', 'video'),
|
'.m1v': ('video/mpeg', 'video'),
|
||||||
'.m3u': ('application/vnd.apple.mpegurl', 'audio'),
|
'.m3u': ('application/x-mpegurl', 'audio'),
|
||||||
'.m3u8': ('application/vnd.apple.mpegurl', 'video'),
|
'.m3u8': ('application/x-mpegurl', 'video'),
|
||||||
'.man': ('application/x-troff-man', 'document'),
|
'.man': ('application/x-troff-man', 'document'),
|
||||||
'.markdown': ('text/markdown', 'document'),
|
'.markdown': ('text/markdown', 'document'),
|
||||||
'.md': ('text/markdown', 'document'),
|
'.md': ('text/markdown', 'document'),
|
||||||
|
@ -66,6 +66,7 @@ types_map = {
|
||||||
'.mpeg': ('video/mpeg', 'video'),
|
'.mpeg': ('video/mpeg', 'video'),
|
||||||
'.mpg': ('video/mpeg', 'video'),
|
'.mpg': ('video/mpeg', 'video'),
|
||||||
'.ms': ('application/x-troff-ms', 'binary'),
|
'.ms': ('application/x-troff-ms', 'binary'),
|
||||||
|
'.m4s': ('video/iso.segment', 'binary'),
|
||||||
'.nc': ('application/x-netcdf', 'binary'),
|
'.nc': ('application/x-netcdf', 'binary'),
|
||||||
'.nws': ('message/rfc822', 'document'),
|
'.nws': ('message/rfc822', 'document'),
|
||||||
'.o': ('application/octet-stream', 'binary'),
|
'.o': ('application/octet-stream', 'binary'),
|
||||||
|
@ -119,6 +120,7 @@ types_map = {
|
||||||
'.tif': ('image/tiff', 'image'),
|
'.tif': ('image/tiff', 'image'),
|
||||||
'.tiff': ('image/tiff', 'image'),
|
'.tiff': ('image/tiff', 'image'),
|
||||||
'.tr': ('application/x-troff', 'binary'),
|
'.tr': ('application/x-troff', 'binary'),
|
||||||
|
'.ts': ('video/mp2t', 'video'),
|
||||||
'.tsv': ('text/tab-separated-values', 'document'),
|
'.tsv': ('text/tab-separated-values', 'document'),
|
||||||
'.txt': ('text/plain', 'document'),
|
'.txt': ('text/plain', 'document'),
|
||||||
'.ustar': ('application/x-ustar', 'binary'),
|
'.ustar': ('application/x-ustar', 'binary'),
|
||||||
|
|
Loading…
Reference in a new issue