A propriedade ContentType especifica o tipo de conteúdo HTTP da resposta do servidor. Se o contentType não for especificado, o padrão será o texto/html.
Use -o no ASP:
| < % Response.ContentType = Text/html %> < % Response.ContentType = Image/Gif %> < % Response.ContentType = Image/jpeg %> < % Response.ContentType = Text/Plain %> < % Response.ContentType = Image/jpeg %> |
| .*= Aplicação/stream de octeto .001 = Aplicação/X-001 .301 = Aplicação/X-301 .323 = texto/h323 .906 = Aplicação/X-906 .907 = desenho/907 .a11 = aplicação/x-a11 .Acp = áudio/x-mei-aac .Ai = aplicativo/pós -escrito .aif = áudio/aiff .AIFC = áudio/AIFF .AFF = Audio/Aiff .Anv = aplicação/x -anv .asa = texto/Asa .sf = vídeo/x-ms-asf .Asp = texto/asp .asx = vídeo/x-ms-asf .au = áudio/básico .avi = vídeo/avi .Awf = aplicativo/vand.adobe.workflow .biz = texto/xml .bmp = aplicativo/x-bmp .bot = aplicação/x-bot .C4T = APLICAÇÃO/X-C4T .C90 = APLICAÇÃO/X-C90 .Cal = Aplicação/X-CALS .cat = Application/vnd.ms-pki.seccat .cdf = aplicativo/x-netcdf .cdr = aplicação/x-cdr .Cel = APLICAÇÃO/X-CEL .CER = APLICAÇÃO/X-X509-CA-CERT .cg4 = aplicação/x-g4 .cgm = aplicativo/x-cgm .cit = aplicação/x-cit .class = java/* .cml = text/xml .cmp = aplicativo/x-cmp .cmx = aplicativo/x-cmx .cot = aplicação/x-cot .crl = Application/Pkix-Crl .crt = Application/X-X509-CAt .csi = aplicativo/x-csi .css = texto/css .cut = aplicação/corte x .dbf = aplicativo/x-dbf .dbm = aplicativo/x-dbm .dbx = aplicativo/x-dbx .dcd = text/xml .dcx = aplicativo/x-dcx .Der = APLICAÇÃO/X-X509-CA-CERT .dgn = aplicativo/x-dgn .dib = aplicação/x-dib .dll = aplicativo/x-msdownload .doc = aplicação/msword .DOT = APLICAÇÃO/MSWORD .DRW = APLICATIVO/X-DRW .dtd = texto/xml .dwf = modelo/vnd.dwf .dwf = aplicativo/x-dwf .dwg = aplicativo/x-dwg .dxb = aplicativo/x-dxb .dxf = aplicativo/x-dxf .edn = Application/vand.adobe.edn .emf = Application/X-EMF .eml = mensagem/rfc822 .s = texto/xml .EPI = APLICAÇÃO/X-EPI .eps = aplicação/x-ps .EPS = APLICAÇÃO/POSTSCRIPT .etd = APLICAÇÃO/X-EBX .exe = aplicativo/x-msdownload .fax = imagem/fax .fdf = aplicativo/vnd.fdf .fif = aplicação/fractais .fo = texto/xml .frm = aplicativo/x-frm .g4 = aplicação/x-g4 .GBR = APLICAÇÃO/X-GBR .GCD = APLICAÇÃO/X-GCD .gif = imagem/gif .gl2 = aplicação/x-Gl2 .gp4 = aplicação/x-gp4 .hgl = aplicação/x-hgl .hmr = aplicativo/x-hmr .hpg = aplicativo/x-hpgl .hpl = aplicação/x-hpl .hqx = aplicativo/mac-binhex40 .hrf = aplicativo/x-hrf .hta = aplicação/hta .htc = texto/componente x .htm = texto/html .html = texto/html .htt = text/webviewhtml .htx = texto/html .icb = Application/X-ICB .ico = imagem/x-icon .ico = aplicação/x-ico .IFF = APLICAÇÃO/X-IFF .IG4 = APLICAÇÃO/X-G4 .IGS = APLICAÇÃO/X-IGS .Iii = aplicação/x-iphone .img = Application/X-IMG .s = aplicação/x-internet-signup .Isp = aplicação/x-internet-signup .Ivf = vídeo/x-IVF .java = java/* .jfif = imagem/jpeg .jpe = imagem/jpeg .jpe = aplicação/x-jpe .jpeg = imagem/jpeg .jpg = imagem/jpeg .jpg = aplicativo/x-jpg .js = aplicação/x-javascript .jsp = texto/html .LA1 = Audio/X-liquid-File LAR = APLICAÇÃO/X-LAPLAYER-REG .Latex = aplicação/x -laatex .Lavs = áudio/x-liquid-segura .lbm = aplicativo/x-lbm .lmsff = áudio/x-la-lms .ls = aplicação/x-javascript .ltr = aplicação/x-ltr .m1v = vídeo/x-mpeg .m2v = vídeo/x-mpeg .m3u = áudio/mpequirl .m4e = vídeo/mpeg4 .mac = aplicação/x-mac .Man = Aplicação/X-Troff-man .math = texto/xml .mdb = aplicativo/msaccess .mdb = aplicativo/x-mdb .mfp = aplicativo/x-shockwave-flash .mht = mensagem/rfc822 .mhtml = message/rfc822 .mi = aplicação/x-mi .mid = áudio/médio .midi = áudio/médio .mil = aplicação/x-mil .mml = texto/xml .mnd = Audio/X-MusicNet-download .mns = áudio/x-musicnet-stream .mocha = aplicação/x-javascript .movie = vídeo/x-sgi-movie .mp1 = áudio/mp1 .mp2 = áudio/mp2 .mp2v = vídeo/mpeg .mp3 = áudio/mp3 .mp4 = vídeo/mpeg4 .mpa = vídeo/x-mpg .mpd = aplicativo/vnd.ms-project .mpe = vídeo/x-mpeg .mpeg = vídeo/mpg .mpg = vídeo/mpg .mpga = áudio/rn-mpeg .mpp = aplicativo/vnd.ms-project .mps = vídeo/x-mpeg .mpt = aplicativo/vnd.ms-project .mpv = vídeo/mpg .mpv2 = vídeo/mpeg .mpw = aplicativo/vnd.ms-project .mpx = aplicativo/vnd.ms-project .mtx = texto/xml .mxp = aplicativo/x-mmxp .Net = imagem/pnetvue .Nrf = aplicativo/x-nrf .nws = message/rfc822 .odc = texto/x-ms-odc .out = Application/X-Out .p10 = aplicação/pkcs10 .p12 = aplicação/x-pkcs12 .p7b = aplicação/x-pkcs7 certificação .p7c = Application/PKCS7-MIME .p7m = Application/PKCS7-MIME .p7r = Application/X-PKCS7-CERTREQRESP .p7s = Application/PKCS7-Signature .pc5 = aplicação/x-pc5 .pci = aplicativo/x-pci .pcl = aplicativo/x-pcl .pcx = aplicativo/x-pcx .pdf = aplicativo/pdf .pdf = aplicativo/pdf .pdx = aplicativo/vand.adobe.pdx .pfx = aplicativo/x-pkcs12 .pgl = aplicação/x-pgl .pic = aplicação/x-pic .pko = aplicativo/vnd.ms-pki.pko .pl = aplicação/x-perl .plg = texto/html .pls = áudio/scpls .plt = aplicativo/x-plt .png = imagem/png .png = aplicativo/x-png .pot = aplicativo/vnd.ms-powerpoint .Ppa = aplicativo/vnd.ms-powerpoint .Ppm = aplicativo/x-ppm .pps = aplicativo/vnd.ms-powerpoint .ppt = Application/Vnd.MS-PowerPoint .ppt = Application/X-PPT .pr = aplicativo/x-pr .PRF = APLICAÇÃO/PICS-RULES .prn = aplicativo/x-prn .prt = aplicativo/x-prt .Ps = aplicação/x-ps .Ps = aplicativo/pós -escrito .ptn = APLICAÇÃO/X-PTN .pwz = aplicativo/vnd.ms-powerpoint .r3t = text/vnd.rn-RealText3d .ra = áudio/vnd.rn-realaudio .Ram = áudio/x-pn-realaudio .RAS = APLICAÇÃO/X-RAS .Raat = Aplicação/arquivo de rato .rdf = text/xml .rec = Application/Vnd.rn-gravação .Rd = aplicação/x-Red .RGB = APLICAÇÃO/X-RGB .rjs = Application/vnd.rn-RealSystem-rjs .RJT = APLICAÇÃO/VND.RN-REALSYSTEM-RJT .rlc = aplicativo/x-rlc .RLE = APLICAÇÃO/X-RLE .rm = Application/vnd.rn-RealMedia .rmf = aplicativo/vand.adobe.rmf .rmi = áudio/mid .rmj = application/vnd.rn-realsystem-rmj .rmm = áudio/x-pn-realaudio .rmp = application/vnd.rn-rn_music_package .s = Application/Vnd.rn-RealMedia-Secure .rmvb = Application/vnd.rn-realmedia-vbr .rmx = Application/vnd.rn-RealSystem-rmx .rnx = aplicativo/vnd.rn-realplayer .rp = image/vnd.rn-realpix .rpm = áudio/x-pn-realaudio-plugin .sml = aplicativo/vnd.rn-rsml .Rt = text/vnd.rn-RealText .Rtf = aplicativo/msword .Rtf = aplicativo/x-rtf .rv = video/vnd.rn-realvideo .sam = aplicação/x-sam .sat = Application/X-Sat .sdp = aplicativo/sdp .sdw = aplicativo/x-sdw .sit = Application/X-Stuffit .slb = aplicativo/x-slb .sld = aplicação/x-sld .slk = desenho/x-slk .smi = aplicativo/smil .smil = aplicação/smil .smk = aplicativo/x-smk .snd = áudio/básico .sol = texto/liso .sor = texto/liso .spc = aplicativo/x-pkcs7 certificados .spl = Application/Futuresplash .spp = texto/xml .SSM = Application/StreamingMedia .SST = Application/vnd.ms-pki.certstore .stl = aplicativo/vnd.ms-pki.stl .stm = texto/html .sty = aplicação/x-estilo .svg = texto/xml .swf = aplicativo/x-shockwave-flash .tdf = aplicativo/x-tdf .tg4 = aplicação/x-tg4 .tga = aplicativo/x-tga .tif = imagem/tiff .tif = aplicação/x-tif .tiff = imagem/tiff .tld = texto/xml .top = desenho/x-top .Torrent = Application/X-Bittorrent .sd = texto/xml .txt = texto/liso .uin = aplicação/x-icq .ULS = texto/iuls .vcf = text/x-vcard .vda = aplicativo/x-vda .vdx = aplicativo/vnd.visio .vml = text/xml .vpg = aplicativo/x-vpeg005 .vsd = aplicativo/vnd.visio .vsd = aplicativo/x-vsd .vss = aplicativo/vnd.visio .vst = aplicativo/vnd.visio .vst = aplicativo/x-vst .vsw = aplicativo/vnd.visio .vsx = aplicativo/vnd.visio .vtx = aplicativo/vnd.visio .vxml = text/xml .wav = áudio/wav .wax = áudio/x-ms-wax .wb1 = aplicação/x-wb1 .wb2 = aplicação/x-wb2 .wb3 = aplicação/x-wb3 .wbmp = imagem/vnd.wap.wbmp .Wiz = Application/Msword .wk3 = aplicação/x-wk3 .wk4 = aplicação/x-wk4 .wkq = aplicativo/x-wkq .wks = aplicativo/x-wks .wm = vídeo/x-ms-wm .wma = áudio/x-ms-wma .wmd = aplicativo/x-ms-wmd .wmf = aplicativo/x-wmf .wml = text/vnd.wap.wml .wmv = vídeo/x-ms-wmv .wmx = vídeo/x-ms-wmx .wmz = aplicativo/x-ms-wmz .wp6 = aplicativo/x-wp6 .wpd = aplicativo/x-wpd .wpg = aplicativo/x-wpg .wpl = Application/vnd.ms-wpl .wq1 = aplicação/x-wq1 .WR1 = APLICAÇÃO/X-WR1 .WRI = APLICAÇÃO/X-WRI .WRK = APLICAÇÃO/X-WRK .WS = APLICAÇÃO/X-WS .WS2 = APLICAÇÃO/X-WS .wsc = text/scriptlet .wsdl = text/xml .wvx = vídeo/x-ms-wvx .xdp = aplicativo/vand.adobe.xdp .xdr = texto/xml .xfd = aplicativo/vand.adobe.xfd .xfdf = aplicativo/vand.adobe.xfdf .xhtml = text/html .xls = aplicativo/vnd.ms-excel .xls = aplicativo/x-xls .xlw = aplicativo/x-xlw .xml = text/xml .xpl = áudio/scpls .xq = texto/xml .xql = text/xml .xQuery = texto/xml .xsd = texto/xml .xsl = texto/xml .Xslt = text/xml .xwd = aplicativo/x-xwd .x_b = aplicativo/x-x_b .x_t = aplicativo/x-x_t |