`
喜羊羊与灰太狼
  • 浏览: 41825 次
  • 性别: Icon_minigender_1
  • 来自: 成都
最近访客 更多访客>>
社区版块
存档分类
最新评论

预定义 MIME content types

    博客分类:
  • Java
 
阅读更多

Type

Subtype

Description

text

 

The document represents printable text.

 

calendar

Calendaring and scheduling information in the iCalendar format; see RFC 2445.

 

css

A Cascading Style Sheet used for HTML and XML.

 

directory

Address book information such as name, phone number, and email address; used by Netscape vCards; defined in RFCs 2425 and 2426.

 

enriched

A very simple HTML-like language for adding basic font and paragraph-level formatting such as bold and italic to email; used by Eudora; defined in RFC 1896.

 

html

Hypertext Markup Language as used by web browsers.

 

plain

This is supposed to imply raw ASCII text. However, some web servers use text/plain as the default MIME type for any file they can't recognize. Therefore, anything and everything, most notably .class byte code files, can get identified as a text/plain file.

 

richtext

An HTML-like markup for encoding formatting into pure ASCII text. It's never really caught on, in large part because of the popularity of HTML.

 

rtf

An incompletely defined Microsoft format for word processing files.

 

sgml

The Standard Generalized Markup Language; ISO standard 8879:1986.

 

tab-separated-values

The interchange format used by many spreadsheets and databases; records are separated by linebreaks and fields by tabs.

 

xml

The W3C standard Extensible Markup Language. For various technical reasons, application/xml should be used instead, but often isn't.

multipart

 

Multipart MIME messages encode several different files into one message.

 

mixed

Several message parts intended for sequential viewing.

 

alternative

The same message in multiple formats so a client may choose the most convenient one.

 

digest

A popular format for merging many email messages into a single digest; used by many mailing lists and some FAQ lists.

 

parallel

Several parts intended for simultaneous viewing.

 

byteranges

Several separately contiguous byte ranges; used in HTTP 1.1.

 

encrypted

One part for the body of the message and one part for the information necessary to decode the message.

 

signed

One part for the body of the message and one part for the digital signature.

 

related

Compound documents formed by aggregating several smaller parts.

 

form-data

Form responses.

message

 

An email message.

 

external-body

Just the headers of the email message; the message's body is not included but exists at some other location and is referenced, perhaps by a URL.

 

http

An HTTP 1.1 request from a web client to a web server.

 

news

A news article.

 

partial

Part of a longer email message that has been split into multiple parts to allow transmission through email gateways.

 

rfc822

A standard email message including headers.

image

 

Two-dimensional pictures.

 

cgm

A Computer Graphics Metafile format image. CGM is ISO standard 8632:1992 for device-independent vector graphics and bitmap images.

 

g3fax

The standard for bitmapped fax images.

 

gif

A Graphics Interchange Format image.

 

jpeg

The Joint Photographic Experts Group file format for bitmapped images with lossy compression.

 

png

A Portable Network Graphics Format image. The format was developed at the W3C as a modern replacement for GIF that supports 24-bit color and is not encumbered by patents.

 

tiff

The Tagged Image File format from Adobe.

audio

 

Sound.

 

basic

8-bit ISDN -law encoded audio with a single channel and a sample rate of eight kilohertz. This is the format used by .au and .snd files and supported by the java.applet.AudioClip class.

video

 

Video.

 

mpeg

The Motion Picture Experts Group format for video data with lossy compression.

 

quicktime

Apple's proprietary QuickTime movie format. Before being included in a MIME message, QuickTime files must be "flattened".

model

 

3-D images.

 

vrml

A Virtual Reality Modeling Language file, a format for 3-D data on the Web.

 

iges

The Initial Graphics Exchange Specification for interchanging documents between different CAD programs.

 

mesh

The mesh structures used in finite element and finite difference methods.

application

 

Binary data specific to some application.

 

octet-stream

Unspecified binary data, which is usually saved into a file for the user. This MIME type is sometimes used to serve .class byte code files.

 

java

A nonstandard subtype sometimes used to serve .class byte code files.

 

postscript

Adobe PostScript.

 

dca-rft

IBM's Document Content Architecture-Richly Formatted Text.

 

mac-BinHex40

A means of encoding the two forks of a Macintosh document in a single ASCII file.

 

pdf

An Adobe Acrobat file.

 

zip

A zip compressed file.

 

macwriteii

A MacWrite II word-processing document.

 

msword

A Microsoft Word document.

 

xml+xhtml

An XHTML document

 

xml

An Extensible Markup Language document.

分享到:
评论

相关推荐

    mime-types:最终的javascript content-type实用程序

    而不是天真地返回第一个可用类型, mime-types只返回false ,所以var type = mime.lookup('unrecognized') || 'application/octet-stream' var type = mime.lookup('unrecognized') || 'application/octet-stream' ...

    perl-MIME-Types-2.170.0

    MIME (Multipurpose Internet Mail Extensions) is an Internet standard for describes message content types. MIME ( 多用途的网际邮件扩充协议)是用于描述信息内容类型的国际标准。 MIME messages can contain...

    node-detect-content-type:使用MIME嗅探标准确定给定数据的Content-Type

    使用指定的算法来确定给定数据的Content-Type的Javascript模块。 该模块在无法使用文件扩展名来确定数据的内容类型的情况下很有用,因为文件没有扩展名或文件名不可用。 安装 npm install detect-content-type ...

    Java Network Programming 3rd Edition By Elliotte Rusty Harold 2004

    Guessing MIME Content Types Section 15.11. HttpURLConnection Section 15.12. Caches Section 15.13. JarURLConnection Chapter 16. Protocol Handlers Section 16.1. What Is a Protocol Handler? ...

    DigitalAssetsUserGuide.pdf

    For more information, see the MIME Types section of the System Setup / Super User Guide. l Images are assets, usually with a MIME type of image/*, and can be converted during export from STEP. ...

    mimedoc:哑剧医生

    米多克通过进行基于扩展名和内容的 mimetype 识别,确保文件名真正... 您将通过--help获得此帮助屏幕: NAME: mimedoc - Cross reference extension-based and content-based mimetypes.USAGE: mimedoc [global opti

    JS识别浏览器类型(电脑浏览器和手机浏览器)

    meta http-equiv="Content-Type" Content="text/html;charset=UTF-8"/> <title>识别电脑浏览器和手机浏览器</title> </head> [removed] var system ={}; var p = navigator.platform; system....

    php header Content-Type类型小结

    php $mimetypes = array( ‘ez’ => ‘application/andrew-inset’, ‘hqx’ => ‘application/mac-binhex40’, ‘cpt’ => ‘application/mac-compactpro’, ‘doc’ => ‘application/msword’, ‘bin’ => ...

    嵌入Python脚本的Nginx模块ngx_python.zip

     include mime.types;  default_type application/octet-stream;  keepalive_timeout 65;  server {  listen 80;  server_name localhost;    location /content_by_python {  content_by_...

    python发送邮件示例(支持中文邮件标题)

    复制代码 代码如下:def sendmail(login={},mail={}): ”’\ @param login login[‘user’] login[‘passwd’] @param mail mail[‘to_addr’] mail[‘subject’] mail[... mimetypes from email.mime.text imp

    facepp-php-sdk:用于Face ++ V2 APIPHP SDK

    ├── ContentTypes.php // request body content type ├── Image.php // the image process unit ├── MimeTypes.php // the request body mime type ├── MultiPartForm.

    nginx的php模块ngx_php.zip

     include mime.types;  default_type application/octet-stream;  keepalive_timeout 65;    client_max_body_size 10m;  client_body_buffer_size 4096k;  php_ini_path /usr/local/php/etc/php.ini;  ...

    一个强大的Clojure web库,完整的HTTP,完整的异步-参见https://juxt.pro/yada/index.html -并置/yada

    yada ...It has the following features: Standards-based, comprehensive HTTP coverage (content ...Rich extensibility (methods, mime-types, security and more) Asynchronous, efficient interceptor-chain desig

    carrierwave-base64:将编码为base64字符串的文件直接上传到carrierwave

    载波:: Base64 将编码为base64的文件上传到载波。 这个小宝石对于与移动设备进行交互的API很有用。... 如果未注册所需的MIME类型,则可以使用: MIME :: Types . add ( MIME :: Type . new ( 'appl

    python3.6.5参考手册 chm

    Deprecated functions and types of the C API Deprecated Build Options Removed API and Feature Removals Porting to Python 3.6 Changes in ‘python’ Command Behavior Changes in the Python API ...

    Java邮件开发Fundamentals of the JavaMail API

    Instead, it defines the content of what is transferred: the format of the messages, attachments, and so on. There are many different documents that take effect here: RFC 822 , RFC 2045 , RFC 2046 , ...

    Beginning Python (2005).pdf

    MIME Content Types 314 Try It Out: Creating a MIME Message with an Attachment 315 MIME Multipart Messages 316 Try It Out: Building E-mail Messages with SmartMessage 320 Sending Mail with SMTP and ...

    eclipse-testng 离线包下载

    eclipse-testng 离线包 xmlns:math="http://exslt.org/math" xmlns:testng="http://testng.org"> indent="yes" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" ...

    file_groups:通用文件扩展名和媒体类型,按应用程序和类型分组

    文件组文件扩展名和媒体类型,按应用程序和类型分组。 当您需要处理或限制对某些类型的文件进行处理时很有用。 这些组在file_groups.json中定义。编程语言库这些是自动生成的。 请参见。 有关用法,请参见给定语言...

    send-stream:流文件服务器,具有文件系统或其他流来源的范围和条件GET支持

    发送流 send-stream是用于从文件系统或任何其他源流式传输文件的库。 它支持部分响应(范围包括多部分),条件GET协商(If-Match,If-Unmodified-Since,If-None-Match,If-Modified-Since)和预压缩的内容编码...

Global site tag (gtag.js) - Google Analytics