Mime Formats in IIS5.0
Declaring a Mime Type in an ASP Page
When a Web server returns a file to a browser, it sends information identifying the type of content being returned. When an ASP application is generating content other than HTML, it must declare a MIME type / subtype using the ContentType property of the Response object.
For example, when generating XML dynamically using ASP, the XML MIME type / subtype must be declared in the ASP file itself Using the ContentType property of the Response object, indicate that the output is XML, as follows.:
<% Response.contentType = "text / xml"%>
The Following Table Lists The Mime Content-Types, Listed in Order of File Name Extensions, Registered IIS 5.0
ExtensionType / sub-type * application / octet-stream323text / h323acxapplication / internet-property-streamaiapplication / postscriptaifaudio / x-aiffaifcaudio / x-aiffaiffaudio / x-aiffasfvideo / x-ms-asfasrvideo / x-ms-asfasxvideo / x-ms- asfauaudio / basicavivideo / x-msvideoaxsapplication / olescriptbastext / plainbcpioapplication / x-bcpiobinapplication / octet-streambmpimage / bmpctext / plaincatapplication / vnd.ms-pkiseccatcdfapplication / x-cdfcerapplication / x-x509-ca-certclassapplication / octet-streamclpapplication / x-msclipcmximage / x-cmxcodimage / cis-codcpioapplication / x-cpiocrdapplication / x-mscardfilecrlapplication / pkix-crlcrtapplication / x-x509-ca-certcshapplication / x-cshcsstext / cssdcrapplication / x-directorderapplication / x-x509-ca-certdirapplication / x-directordllapplication / x-msdownloaddmsapplication / octet-streamdocapplication / msworddotapplication / msworddviapplication / x-dvidxrapplication / x-directorepsapplication / postscriptetxtext / x-setextevyapplication / envoyexeapplication / octet-streamfifapplication / fractalsflrx-world / x- vrmlgifimage / gifgtarapplication / x-gtargzapplication / x-gziphtext / plainhdfapplication / x-hdfhlpapplication / winhlphqxapplication / mac-binhex40htaapplication / htahtctext / x-componenthtmtext / htmlhtmltext / htmlhtttext / webviewhtmlicoimage / x-iconiefimage / iefiiiapplication / x-iphoneinsapplication / x-internet- signupispapplication / x-internet-signupjfifimage / pipegjpeimage / jpegjpegimage / jpegjpgimage / jpegjsapplication / x-javascriptlatexapplication / x-latexlhaapplication / octet-streamlsfvideo / x-la-asflsxvideo / x-la-asflzhapplication / octet-streamm13application / x-msmediaviewm14application / x- msmediaviewm3uaudio / x-mpegurlmanapplication / x-troff-manmdbapplication / x-msaccessmeapplication / x-troff-memhtmessage / rfc822mhtmlmessage / rfc822midaudio / midmnyapplication / x-msmoneymovv
ideo / quicktimemovievideo / x-sgi-moviemp2video / mpegmp3audio / mpegmpavideo / mpegmpevideo / mpegmpegvideo / mpegmpgvideo / mpegmppapplication / vnd.ms-projectmpv2video / mpegmsapplication / x-troff-msmvbapplication / x-msmediaviewnwsmessage / rfc822odaapplication / odap10application / pkcs10p12application / x-pkcs12p7bapplication / x-pkcs7-certificatesp7capplication / x-pkcs7-mimep7mapplication / x-pkcs7-mimep7rapplication / x-pkcs7-certreqrespp7sapplication / x-pkcs7-signaturepbmimage / x-portable-bitmappdfapplication / pdfpfxapplication / x-pkcs12pgmimage / x-portable-graymappkoapplication / ynd. ms-pkipkopmaapplication / x-perfmonpmcapplication / x-perfmonpmlapplication / x-perfmonpmrapplication / x-perfmonpmwapplication / x-perfmonpnmimage / x-portable-anymappot, application / vnd.ms-powerpointppmimage / x-portable-pixmapppsapplication / vnd.ms-powerpointpptapplication / vnd.ms-powerpointprfapplication / pics-rulespsapplication / postscriptpubapplication / x-mspublisherqtvideo / quicktimeraaudio / x-pn-realaudioramaudio / x-pn-realaudiorasimage / x-cmu-rasterrgbim age / x-rgbrmiaudio / midroffapplication / x-troffrtfapplication / rtfrtxtext / richtextscdapplication / x-msschedulescttext / scriptletsetpayapplication / set-payment-initiationsetregapplication / set-registration-initiationshapplication / x-shsharapplication / x-sharsitapplication / x-stuffitsndaudio / basicspcapplication / x- pkcs7-certificatessplapplication / futuresplashsrcapplication / x-wais-sourcesstapplication / vnd.ms-pkicertstorestlapplication / vnd.ms-pkistlstmtext / htmlsv4cpioapplication / x-sv4cpiosv4crcapplication / x-sv4crctapplication / x-trofftarapplication / x-tartclapplication / x-tcltexapplication / x-textexiapplication / X-TEXINFOTGZAPPLICATION / X-TEXINFOTGZAPPLICATION / X-compressedtifimage / TifftiffImage / TiffTrapplication / X-TrofftrMApplication / X-msterminaltsvtext / Tab-
separated-valuestxttext / plainulstext / iulsustarapplication / x-ustarvcftext / x-vcardvrmlx-world / x-vrmlwavaudio / x-wavwcmapplication / vnd.ms-workswdbapplication / vnd.ms-workswksapplication / vnd.ms-workswmfapplication / x-msmetafilewpsapplication / vnd. ms-workswriapplication / x-mswritewrlx-world / x-vrmlwrzx-world / x-vrmlxafx-world / x-vrmlxbmimage / x-xbitmapxlaapplication / vnd.ms-excelxlcapplication / vnd.ms-excelxlmapplication / vnd.ms-excelxlsapplication / vnd. ms-excelxltapplication / vnd.ms-excelxlwapplication / vnd.ms-excelxofx-world / x-vrmlxpmimage / x-xpixmapxwdimage / x-xwindowdumpzapplication / x-compresszipapplication / zipFrom: Microsoft.com