Web file contenttype type Daquan-from the network
The ContentType property specifies the HTTP content type of the server response. If contenttype is not specified, the default is text/html.
Use it in asp:
<% Response.ContentType = "text/html"%>
<% Response.ContentType = "Image/gif"%>
<% Response.ContentType = "Image/jpeg"%>
<% Response.ContentType = "Text/plain"%>
<% Response.ContentType = "Image/jpeg"%>
". *" = "Application/octet-stream"
". 001" = "application/x-001"
". 301" = "application/x-301"
". 323" = "text/h323"
". 906" = "application/x-906"
". 907" = "drawing/907"
". A11" = "Application/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"
". asf" = "video/x-ms-asf"
". asp" = "text/asp"
". asx" = "video/x-ms-asf"
". Au" = "audio/basic"
". avi" = "Video/avi"
". Awf" = "Application/vnd.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" = "MODEL/VND.DWF"
". DWF" = "APPLICATION/X-DWF"
". dwg" = "APPLICATION/X-DWG"
". Dxb" = "APPLICATION/X-DXB"
". DXF" = "application/x-dxf"
". Edn" = "Application/vnd.adobe.edn"
". emf" = "application/x-emf"
". eml" = "message/rfc822"
". Ent" = "Text/xml"
". Epi" = "Application/x-epi"
". EPs" = "Application/x-ps"
". EPs" = "Application/postscript"
". Etd" = "APPLICATION/X-EBX"
". exe" = "Application/x-msdownload"
". Fax" = "Image/fax"
". Fdf" = "APPLICATION/VND.FDF"
". Fif" = "application/fractals"
". Fo" = "text/xml"
". frm" = "application/x-frm"
". g4" = "Application/x-g4"
". GBR" = "APPLICATION/X-GBR"
". gcd" = "APPLICATION/X-GCD"
". gif" = "image/gif"
". Gl2" = "APPLICATION/X-GL2"
". 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-component"
". htm" = "text/html"
". html" = "text/html"
". Htt" = "text/webviewhtml"
". htx" = "text/html"
". ICB" = "APPLICATION/X-ICB"
". ico" = "Image/x-icon"
". ico" = "Application/x-ico"
". Iff" = "Application/x-iff"
". Ig4" = "Application/x-g4"
". IGs" = "Application/x-igs"
". III" = "Application/x-iphone"
". img" = "application/x-img"
". Ins" = "Application/x-internet-signup"
". ISP" = "Application/x-internet-signup"
". 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-latex"
". 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" = "Application/pkcs10"