Content-type, a content type that defines the type of network file and the encoding of the Web page, determines what form and encoding the browser will use to read the file. Here is a summary of the common, all the data from the network, untested:
File suffix |
Processing mode |
.* |
Application/octet-stream |
. asp |
Text/asp |
. avi |
Video/avi |
. bmp |
Application/x-bmp |
. css |
Text/css |
. doc |
Application/msword |
. docx |
application/vnd.openxmlformats-officedocument.wordprocessingml.template |
. exe |
Application/x-msdownload |
. gif |
Image/gif |
. html/.htm/.jsp/.xhtml |
Text/html |
. java |
java/* |
. jpeg/.jpg |
Image/jpeg |
. jpg |
Application/x-jpg |
. ppt |
Application/vnd.ms-powerpoint or Application/x-ppt |
. pptx |
Application/vnd.openxmlformats-officedocument.presentationml.presentation |
. rmvb |
Application/vnd.rn-realmedia-vbr |
. svg/.xml |
Text/xml |
. swf |
Application/x-shockwave-flash |
. txt |
Text/plain |
. wav |
Audio/wav |
. xls |
Application/vnd.ms-excel or Application/x-xls |
. xlsx |
Application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
Common Content-type Totals