ContentType -Eigenschaft gibt den HTTP -Inhaltstyp der Serverantwort an. Wenn der ContentType nicht angegeben ist, ist die Standardeinstellung Text/HTML.
Verwenden Sie es in ASP:
< % Antwort.ContentType = text/html %> < % Antwort.ContentType = Bild/GIF %> < % Antwort.ContentType = Bild/JPEG %> < % Antwort.ContentType = Text/Plain %> < % Antwort.ContentType = Bild/JPEG %> |
.*= Anwendung/Oktettstrom .001 = Anwendung/X-001 .301 = Anwendung/x-301 .323 = text/h323 .906 = Anwendung/x-906 .907 = Zeichnung/907 .A11 = Anwendung/X-A11 .ACP = Audio/x-mei-aac .Ai = application/postScript .Aif = audio/aiff .Aifc = audio/aiff .Aiff = audio/aiff .Anv = application/x -anv .asa = text/asa .sf = Video/X-MS-Asf .Asp = text/ASP .asx = Video/X-MS-Asf .au = audio/basic .avi = Video/avi .AWF = application/vand.adobe.Workflow .biz = text/xml .bmp = application/x-bmp .bot = application/x-bot .c4t = application/x-c4t .c90 = application/x-c90 .Cal = Application/X-Cals .cat = application/vnd.ms-pki.seccat .cdf = application/x-netcdf .cdr = application/x-cdr .Cel = application/x-cel .Cer = application/x-X509-Ca-Cert .cg4 = application/x-g4 .cgm = application/x-cgm .cit = application/x-cit .class = java/* .cml = text/xml .cmp = application/x-cmp .cmx = application/x-cmx .cot = application/x-cot .Crl = application/pkix-crl .Crt = application/x-X509-Ca-Cert .csi = application/x-csi .css = text/css .cut = application/x-cut .dbf = application/x-dbf .dbm = application/x-dbm .dbx = application/x-dbx .dcd = text/xml .dcx = application/x-dcx .der = application/x-X509-Ca-Cert .dgn = application/x-dgn .dib = application/x-dib .dll = application/x-msdownload .doc = application/msword .dot = application/msword .drw = application/x-drw .dtd = text/xml .dwf = modell/vnd.dwf .dwf = application/x-dwf .dwg = application/x-dwg .dxb = application/x-dxb .dxf = application/x-dxf .edn = application/vand.adobe.edn .Emf = application/x-emf .Eml = message/rfc822 .s = text/xml .epi = application/x-epi .eps = application/x-ps .eps = application/postScript .ETD = Application/X-EBX .exe = application/x-msdownload .Fax = Bild/Fax .fdf = application/vnd.fdf .fif = Anwendung/Fraktale .fo = text/xml .frm = application/x-FRM .g4 = Anwendung/X-G4 .gbr = application/x-gbr .gcd = application/x-gcd .gif = bild/gif .gl2 = application/xgl2 .gp4 = application/x-gp4 .hgl = application/x-hgl .HMR = application/x-hmr .hpg = application/x-hpgl .hpl = application/x-hpl .hqx = Application/Mac-Binhex40 .hrf = application/x-hrf .hta = application/hta .htc = text/x-komponent .htm = text/html .html = text/html .htt = text/webViewhtml .htx = text/html .icb = application/x-ICB .ICO = Bild/x-ICON .ico = application/x-ICO .IFF = Antrag/x-iiff .ig4 = Anwendung/X-G4 .Igs = application/x-igs .Iii = application/x-iphone .img = application/x-img .s = application/x-internetsignup .Isp = application/x-internetsignup .Ivf = Video/x-IVf .java = java/* .Jfif = Image/jpeg .jpe = image/jpeg .jpe = application/x-jpe .Jpeg = Image/jpeg .JPG = Image/JPEG .jpg = application/x-jpg .JS = Application/X-JavaScript .jsp = text/html .la1 = audio/x liquid-file . Lar = Application/X-Laplayer-reg .Latex = application/x -laatex .lavs = audio/x-liquid-secure .lbm = application/x-lbm .lmsff = audio/x-la-lms .ls = application/x-JavaScript .ltr = application/x-ltr .m1v = Video/x-mpeg .M2V = Video/x-mpeg .m3u = audio/mpegurl .m4e = Video/mpeg4 .MAC = Application/X-MAC .Man = application/x-troff-Man .Math = text/xml .mdb = application/msaccess .mdb = application/x-mdb .mfp = application/x-shockwave-flash .mht = message/rfc822 .mhtml = message/rfc822 .mi = application/x-mi .mid = audio/mid .midi = audio/mid .mil = application/x-mil .mml = text/xml .mnd = audio/x-musicnet download .mns = audio/x-musicnet-Stream .mocha = application/x-JavaScript .Movie = Video/x-Sgi-movie .mp1 = audio/mp1 .mp2 = audio/mp2 .mp2v = Video/mpeg .mp3 = audio/mp3 .mp4 = Video/mpeg4 .mpa = Video/x-mpg .mpd = application/vnd.ms-project .Mpe = Video/x-mpeg .mpeg = Video/mpg .mpg = Video/mpg .mpga = audio/rn-mpeg .mpp = application/vnd.ms-project .MPS = Video/X-Mpeg .mpt = application/vnd.ms-project .mpv = Video/mpg .mpv2 = Video/mpeg .mpw = application/vnd.ms-project .mpx = application/vnd.ms-project .MTX = text/xml .mxp = application/x-mmxp .NET = Image/pNetvue .Nrf = application/x-nrf .nws = message/rfc822 .odc = text/x-ms-odc .out = application/x-out .p10 = Anwendung/PKCS10 .p12 = Anwendung/X-PKCS12 .p7b = application/x-PKCS7-Zertifizierung .p7c = application/pkcs7-mime .p7m = Anwendung/PKCS7-MIME .p7r = application/x-PKCS7-CERTREQRESP .p7s = Anwendung/PKCS7-Signatur .pc5 = application/x-pc5 .pci = application/x-pci .pcl = application/x-pcl .pcx = application/x-pcx .pdf = application/pdf .pdf = application/pdf .pdx = application/vand.adobe.pdx .pfx = application/x-pkcs12 .PGL = Application/X-PGL .pic = application/x-pic .pko = application/vnd.ms-pki.pko .pl = application/x-perl .plg = text/html .pls = audio/scpls .plt = application/x-plt .png = Bild/png .png = application/x-png .pot = application/vnd.ms-powerpoint .Ppa = application/vnd.ms-powerpoint .PPM = Anwendung/X-PPM .pps = application/vnd.ms-powerpoint .ppt = application/vnd.ms-powerpoint .ppt = application/x-ppt .pr = application/x-pr .Prf = Application/Pics-Rules .prn = application/x-prn .prt = application/x-prt .Ps = application/x-ps .Ps = application/postScript .PTN = application/x-ptn .pwz = application/vnd.ms-powerpoint .r3t = text/vnd.rn-realtext3d .ra = audio/vnd.rn-realaudio .ram = audio/x-pn-realaudio .ras = application/x-ras .RAAT = Anwendung/Ratten-File .rdf = text/xml .REC = application/vnd.rn-Recording .Rd = application/x-rot .Rgb = application/x-rgb .rjs = application/vnd.rn-realsystem-rjs .rjt = application/vnd.rn-realsystem-rjt .rlc = application/x-rlc .rle = application/x-rle .rm = application/vnd.rn-realmedia .rmf = application/vand.adobe.rmf .rmi = audio/mid .rmj = application/vnd.rn-realsystem-rmj .rmm = audio/x-pn-realaudio .rmp = application/vnd.rn-rn_music_package .s = application/vnd.rn-realmediasecure .rmvb = application/vnd.rn-realmedia-vbr .rmx = application/vnd.rn-realsystem-rmx .rnx = application/vnd.rn-realplayer .rp = Bild/vnd.rn-realpix .rpm = audio/x-pn-realaudio-plugin .sml = application/vnd.rn-rsml .Rt = text/vnd.rn-realtext .Rtf = application/msword .Rtf = application/x-rtf .rv = Video/vnd.rn-realvideo .SAM = application/x-sam .sat = application/x-sa .sdp = application/sdp .sdw = application/x-sdw .Sit = application/x-Stuffit .Slb = application/x-slb .Sld = Application/X-Sld .Slk = Drawing/X-SLK .smi = application/lächeln .smil = application/lächeln .smk = application/x-smk .snd = audio/basic .Sol = Text/Ebene .SOR = Text/Plain .spc = application/x-PKCS7-Zertifikat .Spl = Anwendung/FuturesPlash .spp = text/xml .SSM = Application/StreamingMedia .Sst = application/vnd.ms-pki.certstore .stl = application/vnd.ms-pki.stl .stm = text/html .sty = application/x-sty .svg = text/xml .swf = application/x-shockwave-flash .tdf = application/x-tdf .tg4 = application/x-tg4 .tga = application/x-tga .tif = Bild/tiff .tif = application/x-tif .Tiff = Image/Tiff .tld = text/xml .top = zeichnen/x-top .Torrent = Anwendung/x-bittorrent .sd = text/xml .txt = text/plain .Uin = application/x-ICQ .Uls = text/iuls .vcf = text/x-vcard .vda = application/x-vda .vdx = application/vnd.visio .vml = text/xml .vpg = application/x-vpeg005 .vsd = application/vnd.visio .vsd = application/x-vsd .VSSS = Application/Vnd.visio .vst = application/vnd.visio .vst = application/x-vst .vsw = application/vnd.visio .vsx = application/vnd.visio .vtx = application/vnd.visio .vxml = text/xml .wav = audio/wav .wax = audio/x-ms-wax .wb1 = application/x-wb1 .wb2 = Anwendung/x-wb2 .wb3 = application/x-wb3 .wbmp = image/vnd.wap.wbmp .wiz = application/msword .wk3 = application/x-wk3 .wk4 = application/x-wk4 .wkq = application/x-wkq .wks = application/x-wks .wm = Video/x-ms-wm .WMA = Audio/X-MS-WMA .wmd = application/x-ms-wmd .wmf = application/x-wmf .wml = text/vnd.wap.wml .wmv = Video/x-ms-wmv .wmx = Video/x-ms-wmx .wmz = application/x-ms-wmz .wp6 = application/x-wp6 .wpd = application/x-wpd .wpg = application/x-wpg .wpl = application/vnd.ms-wpl .wq1 = application/x-wq1 .Wr1 = Anwendung/X-WR1 .wri = application/x-wri .wrk = application/x-wrk .ws = application/x-ws .WS2 = Anwendung/x-WS .wsc = text/scriptlet .wsdl = text/xml .wvx = Video/x-ms-wvx .xdp = application/vand.adobe.xdp .xdr = text/xml .xfd = application/vand.adobe.xfd .xfdf = application/vand.adobe.xfdf .xhtml = text/html .xls = application/vnd.ms-excel .xls = application/x-xls .xlw = application/x-xlw .xml = text/xml .xpl = audio/scpls .xq = text/xml .xql = text/xml .xquery = text/xml .xsd = text/xml .xsl = text/xml .Xslt = text/xml .xwd = application/x-xwd .x_b = application/x-x_b .x_t = application/x-x_t |