Mime Formats in IIS5.0

xiaoxiao2021-03-06  39

Body {Background: #fffff; font-family: Tahoma; font-size: 8pt; scrollbar-base-color: # 336699}

P {font-family: tahoma; font-size: 8pt}

Div {font-family: tahoma; font-size: 8pt}

Li {font-family: tahoma; font-size: 8pt}

Td {font-family: tahoma; font-size: 8pt}

Table {font-family: tahoma; font-size: 8pt}

Input {font-family: tahoma; font-size: 8pt}

Textarea {font-family: tahoma; font-size: 8pt}

H3 {font-size: 18pt; font-weight: bold}

A: Link {color: DarkBlue; Text-Decoration: none}

A: Active {Color: DarkBlue; Text-Decoration: none}

A: visited {color: # 336699; text-decoration: none}

A: hover {color: # 336699; text-decoration: underline}

.Contettitle {font-weight: bold}

.Hightlight {color: # ff0000; font-weight: bold}

.Lowlight {color: # 999999; font-weight: normal}

XMP {Background-Color: #efefef; border-bottom: # 999999 1px solid; border-left: # 999999 1px solid; border-right: # 999999 1px solid; border-top: # 999999 1px solid; color: # 000000; Font-Family: "Verdana", "Courier New", "Courier", "MONO"; font-size: 11px; Height: 100%; line-height: 18px; margin: -1px; padding-bottom: 5px; padding -Left: 5px; Padding-Right: 5px; Padding-Top: 5px; Word-Wrap: Break-word}

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 in 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

转载请注明原文地址:https://www.9cbs.com/read-76990.html

New Post(0)