File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -974,6 +974,7 @@ mimetypes
974974 * Add PHP ``application/x-httpd-php `` (``.php ``)
975975 * Add RAR ``application/vnd.rar `` (``.rar ``)
976976 * Add RPM ``application/x-rpm `` (``.rpm ``)
977+ * Add Windows Media Video ``video/x-ms-wmv `` (``.wmv ``)
977978
978979 (Contributed by Hugo van Kemenade in :gh: `129965 `.)
979980
Original file line number Diff line number Diff line change @@ -655,6 +655,7 @@ def _default_mime_types():
655655 '.webm' : 'video/webm' ,
656656 '.avi' : 'video/vnd.avi' ,
657657 '.m4v' : 'video/x-m4v' ,
658+ '.wmv' : 'video/x-ms-wmv' ,
658659 '.movie' : 'video/x-sgi-movie' ,
659660 }
660661
Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ def check_extensions():
283283 ("video/quicktime" , ".mov" ),
284284 ("video/vnd.avi" , ".avi" ),
285285 ("video/x-m4v" , ".m4v" ),
286+ ("video/x-ms-wmv" , ".wmv" ),
286287 ):
287288 with self .subTest (mime_type = mime_type , ext = ext ):
288289 self .assertEqual (mimetypes .guess_extension (mime_type ), ext )
You can’t perform that action at this time.
0 commit comments