`
Java_Fan
  • 浏览: 81726 次
  • 性别: Icon_minigender_1
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

HTML 头信息(ContentType)大全

 
阅读更多

此文档参照网络资料整理

HTML头信息(ContentType)大全

ContentTypes: "ez","application/andrew-inset"
ContentTypes :"hqx","application/mac-binhex40"
ContentTypes :"cpt","application/mac-compactpro"
ContentTypes : "doc","application/msword"
ContentTypes : "bin","application/octet-stream"
ContentTypes :"dms","application/octet-stream"
ContentTypes :"lha","application/octet-stream"
ContentTypes :"lzh","application/octet-stream"
ContentTypes :"exe","application/octet-stream"
ContentTypes : "class","application/octet-stream"
ContentTypes :"so","application/octet-stream"
ContentTypes :"dll","application/octet-stream"
ContentTypes : "oda","application/oda"
ContentTypes : "pdf","application/pdf"
ContentTypes :"ai","application/postscript"
ContentTypes :"eps","application/postscript"
ContentTypes :"ps","application/postscript"
ContentTypes : "smi","application/smil"
ContentTypes : "smil","application/smil"
ContentTypes :"mif","application/vnd.mif"
ContentTypes : "xls","application/vnd.ms-excel"
ContentTypes :"ppt","application/vnd.ms-powerpoint"
ContentTypes :"wbxml","application/vnd.wap.wbxml"
ContentTypes :"wmlc","application/vnd.wap.wmlc"
ContentTypes :"wmlsc","application/vnd.wap.wmlscriptc"
ContentTypes :"bcpio","application/x-bcpio"
ContentTypes :"vcd","application/x-cdlink"
ContentTypes :"pgn","application/x-chess-pgn"
ContentTypes :"cpio","application/x-cpio"
ContentTypes : "csh","application/x-csh"
ContentTypes : "dcr","application/x-director"
ContentTypes :"dir","application/x-director"
ContentTypes :"dxr","application/x-director"
ContentTypes : "dvi","application/x-dvi"
ContentTypes :"spl","application/x-futuresplash"
ContentTypes :"gtar","application/x-gtar"
ContentTypes : "hdf","application/x-hdf"
ContentTypes :"js","application/x-javascript"
ContentTypes : "skp","application/x-koan"
ContentTypes : "skd","application/x-koan"
ContentTypes : "skt","application/x-koan"
ContentTypes : "skm","application/x-koan"
ContentTypes :"latex","application/x-latex"
ContentTypes :"nc","application/x-netcdf"
ContentTypes :"cdf","application/x-netcdf"
ContentTypes : "sh","application/x-sh"
ContentTypes :"shar","application/x-shar"
ContentTypes :"swf","application/x-shockwave-flash"
ContentTypes :"sit","application/x-stuffit"
ContentTypes :"sv4cpio","application/x-sv4cpio"
ContentTypes :"sv4crc","application/x-sv4crc"
ContentTypes : "tar","application/x-tar"
ContentTypes : "tcl","application/x-tcl"
ContentTypes : "tex","application/x-tex"
ContentTypes :"texinfo","application/x-texinfo"
ContentTypes :"texi","application/x-texinfo"
ContentTypes : "t","application/x-troff"
ContentTypes : "tr","application/x-troff"
ContentTypes :"roff","application/x-troff"
ContentTypes :"man","application/x-troff-man"
ContentTypes :"me","application/x-troff-me"
ContentTypes :"ms","application/x-troff-ms"
ContentTypes :"ustar","application/x-ustar"
ContentTypes :"src","application/x-wais-source"
ContentTypes :"xhtml","application/xhtml+xml"
ContentTypes :"xht","application/xhtml+xml"
ContentTypes : "zip","application/zip"
ContentTypes : "au","audio/basic"
ContentTypes : "snd","audio/basic"
ContentTypes : "mid","audio/midi"
ContentTypes : "midi","audio/midi"
ContentTypes : "kar","audio/midi"
ContentTypes : "mpga","audio/mpeg"
ContentTypes : "mp2","audio/mpeg"
ContentTypes : "mp3","audio/mpeg"
ContentTypes : "aif","audio/x-aiff"
ContentTypes : "aiff","audio/x-aiff"
ContentTypes : "aifc","audio/x-aiff"
ContentTypes : "m3u","audio/x-mpegurl"
ContentTypes :"ram","audio/x-pn-realaudio"
ContentTypes :"rm","audio/x-pn-realaudio"
ContentTypes : "rpm","audio/x-pn-realaudio-plugin"
ContentTypes : "ra","audio/x-realaudio"
ContentTypes : "wav","audio/x-wav"
ContentTypes : "pdb","chemical/x-pdb"
ContentTypes : "xyz","chemical/x-xyz"
ContentTypes : "bmp","image/bmp"
ContentTypes : "gif","image/gif"
ContentTypes : "ief","image/ief"
ContentTypes : "jpeg","image/jpeg"
ContentTypes : "jpg","image/jpeg"
ContentTypes : "jpe","image/jpeg"
ContentTypes : "png","image/png"
ContentTypes : "tiff","image/tiff"
ContentTypes : "tif","image/tiff"
ContentTypes : "djvu","image/vnd.djvu"
ContentTypes : "djv","image/vnd.djvu"
ContentTypes :"wbmp","image/vnd.wap.wbmp"
ContentTypes : "ras","image/x-cmu-raster"
ContentTypes :"pnm","image/x-portable-anymap"
ContentTypes : "pbm","image/x-portable-bitmap"
ContentTypes :"pgm","image/x-portable-graymap"
ContentTypes :"ppm","image/x-portable-pixmap"
ContentTypes : "rgb","image/x-rgb"
ContentTypes : "xbm","image/x-xbitmap"
ContentTypes : "xpm","image/x-xpixmap"
ContentTypes :"xwd","image/x-xwindowdump"
ContentTypes : "igs","model/iges"
ContentTypes : "iges","model/iges"
ContentTypes : "msh","model/mesh"
ContentTypes : "mesh","model/mesh"
ContentTypes : "silo","model/mesh"
ContentTypes : "wrl","model/vrml"
ContentTypes : "vrml","model/vrml"
ContentTypes : "css","text/css"
ContentTypes : "html","text/html"
ContentTypes : "htm","text/html"
ContentTypes : "asc","text/plain"
ContentTypes : "txt","text/plain"
ContentTypes : "rtx","text/richtext"
ContentTypes : "rtf","text/rtf"
ContentTypes : "sgml","text/sgml"
ContentTypes : "sgm","text/sgml"
ContentTypes :"tsv","text/tab-separated-values"
ContentTypes : "wml","text/vnd.wap.wml"
ContentTypes : "wmls","text/vnd.wap.wmlscript"
ContentTypes : "etx","text/x-setext"
ContentTypes : "xsl","text/xml"
ContentTypes : "xml","text/xml"
ContentTypes : "mpeg","video/mpeg"
ContentTypes : "mpg","video/mpeg"
ContentTypes : "mpe","video/mpeg"
ContentTypes : "qt","video/quicktime"
ContentTypes : "mov","video/quicktime"
ContentTypes : "mxu","video/vnd.mpegurl"
ContentTypes : "avi","video/x-msvideo"
ContentTypes :"movie","video/x-sgi-movie"
ContentTypes :"ice","x-conference/x-cooltalk"
ContentTypes : "form","application/x-www-form-urlencoded"

分享到:
评论

相关推荐

    ContentType 类型大全 doc

    ContentType 是一个 HTTP 头信息,用于指定从服务器端发送来的内容的类型和编码方式。客户端浏览器会根据这个类型来解析从服务器端发送来的内容。例如,如果我们设置 ContentType 为 "text/html; charset=UTF-8",...

    ContentType大全

    `ContentType`全称为`Content-Type`,它是HTTP响应头中的一个字段,用于告诉浏览器或接收方数据的MIME类型(Multipurpose Internet Mail Extensions)。MIME类型是一种标准,用于标识互联网上的资源类型,如文本、...

    HTML中的ContentType

    HTML中的ContentType Content-Type,连接类型,一般是指网页中存在的Content-Type,用于定义网络文件的类型和网页的编码,决定浏览器将以什么形式、什么编码读取这个文件。 例如将:ContentType设置为image/jpeg,...

    ContentType类型大全彩信[参考].pdf

    `ContentType` 主要用于HTTP响应头,指示服务器发送的数据格式。 `ContentType` 属性在ASP(Active Server Pages)中用于设置HTTP响应的MIME类型(Multipurpose Internet Mail Extensions)。MIME类型是一个标准,...

    文件下载及web文件的contentType类型大全

    ### 文件下载及Web文件的ContentType类型详解 在Web开发中,处理文件下载是常见的需求之一。为了确保用户能够正确地下载文件并且浏览器能够正确解析文件类型,开发者需要正确设置HTTP响应头中的`Content-Type`字段...

    关于asp.net的ContentType输出格式

    浏览器通过这个信息来解析响应的内容,从而正确地展示给用户。例如,当一个响应的`ContentType`设置为"text/html"时,浏览器会将其解释为HTML文档并尝试渲染成网页。 #### 二、ContentType的设置方法 在ASP.NET中...

    PageEncoding&contentType中charset区别

    这是一个HTTP头信息的一部分,用来告诉浏览器如何解析接收到的数据。 **主要作用:** 1. **指定MIME类型**:如"text/html"、"application/json"等,指示浏览器应该如何处理返回的数据。 2. **指定字符集**:通过在...

    Web文件的ContentType类型大全

    ### Web文件的ContentType类型大全解析 在Web开发与网络传输中,`Content-Type`是一个至关重要的HTTP头部字段,用于指示资源的数据类型。正确设置`Content-Type`有助于浏览器或服务器理解如何处理接收到的数据,...

    struts2 文件上传中 ContentType对应表

    ".323"文件通常包含与该协议相关的文本配置信息。 - **".906":"application/x-906"** - **说明**:这种类型的文件用于特定的应用程序,具体含义可能因软件而异。 - **".907":"drawing/907"** - **说明**:".907...

    JSP页面中的pageEncoding和contentType两种属性 - 51CTO_COM - 注解

    另一方面,`contentType`属性则定义了HTTP响应头中的Content-Type字段,它告诉浏览器如何解析发送到客户端的数据。例如,`contentType="text/html; charset=UTF-8"`表示发送的数据是HTML格式,并且使用的字符集是UTF...

    html 的 ContentType 小结

    在HTML中,`ContentType`主要体现在HTTP响应头的`Content-Type`字段,它告诉浏览器如何解析接收到的数据。这个字段的设置对于正确显示网页至关重要,因为它定义了数据的MIME类型(Multipurpose Internet Mail ...

    JSP页面pageEncoding和contentType属性

    在HTTP头中,`Content-Type` 字段通常包含 `contentType` 的设置,如 `text/html;charset=utf-8`。这里的 `charset` 参数指定了服务器发送给浏览器的数据编码,决定了浏览器如何解码接收到的HTML内容。如果`...

    JSP页面中的pageEncoding和contentType两种属性的区别.

    ### JSP页面中的pageEncoding与contentType两种属性的区别 在Java Server Pages(JSP)技术中,`pageEncoding`和`contentType`是两个重要的属性,它们分别控制着JSP页面的编码方式以及输出内容的类型。了解这两个...

    HTML中用户信息注册

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> request.setCharacterEncoding("UTF-8"); String username = request.getParameter("username"); String password = ...

    springmvc3.2.4返回json的contentType在ie里无法取到结果,修改包

    新springmvc的json默认返回contentType是application/json,会导致ie等认为需要调用application打开,而不是当作文本处理。...改包已经修改了返回的contentType为text/html,前台脚本可以按照以前的处理方式处理

    jsp+servlet头像上传功能

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> 头像上传 *"> 上传"> </html> ``` 这段代码定义了一个表单,用户可以选择一个图像...

    数据库分页脚本 jsp

    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <html> ...

    http中content-type头值-1

    下面将详细阐述`Content-Type`头值的常见类型及其用途。 1. **文本类型**: - `text/plain`: 这是最基础的类型,表示纯文本,如`.txt`文件。 - `text/html`: 表示HTML文档,是网页的主要格式。 - `text/css`: ...

    ContentType控制输出的类型是否区分大小写

    根据提供的文件信息,我们可以展开讲解关于“ContentType控制输出的类型是否区分大小写”的知识点,以及围绕这个话题展开的相关技术细节。 首先,了解ContentType的含义至关重要。ContentType是HTTP协议中的头部...

    Asp.net生成html文件

    Response.ContentType = "text/html"; Response.Write("<html><body><h1>Hello, World!</h1></body></html>"); Response.End(); ``` 3. **Razor视图引擎**: 在ASP.NET MVC中,Razor视图引擎允许开发者用C#...

Global site tag (gtag.js) - Google Analytics