I need to map various video and audio file types that can be upload to my application. In the following microsoft's documentation 开发者_高级运维they publish the supported mime types by IE.
but I think that this list is very partial. For example I couldn't find there the content type 'video/quicktime' that is also generated by my IE8 So my first question is - where can I find a list of all IE/windows supported mime types.
My second question is - is there a difference between the mime-type and the content-type. because for example in this file type list the mime type of .AVI file is video/x-msvideo while the checked content type of it is video/avi So why there is a difference between mime and content type?
Internet Explorer can support an effectively infinite list of MIME types depending on what applications are installed on the client. See http://blogs.msdn.com/b/ieinternals/archive/2009/07/01/ie-and-the-accept-header.aspx for an explanation of the ACCEPT header and information about changes that have been made for IE9.
MIME Type and Content-Type are often used interchangeably. The Content-Type header contains a MIME Type and [optionally] character set information. In the case of AVI, there are a number of different MIME types which are all the same thing under the covers; that happens quite often (e.g. there are about 8 supported MIME types for JavaScript).
精彩评论