MIME-Types [content-types] :: Cheat Sheet for REST
January 19th, 2010
http://en.wikipedia.org/wiki/Internet_media_type
- Type
application: Multipurpose files
application/x-www-form-urlencodedForm Encoded Data XDapplication/EDI-X12: EDI X12 data; Defined in RFC 1767application/EDIFACT: EDI EDIFACT data; Defined in RFC 1767application/javascript: JavaScript; Defined in RFC 4329 but not accepted in IE 8 or earlierapplication/octet-stream: Arbitrary binary data[4]. Generally speaking this type identifies files that are not associated with a specific application. Contrary to past assumptions by software packages such as Apache this is not a type that should be applied to unknown files. In such a case, a server or application should not indicate a content type, as it may be incorrect, but rather, should omit the type in order to allow the recipient to guess the type.[5]application/ogg: Ogg, a multimedia bitstream container format; Defined in RFC 5334application/pdf: Portable Document Format, PDF has been in use for document exchange on the Internet since 1993; Defined in RFC 3778application/xhtml+xml: XHTML; Defined by RFC 3236application/xml-dtd: DTD files; Defined by RFC 3023application/json: JavaScript Object Notation JSON; Defined in RFC 4627application/zip: ZIP archive files; Registered[6]- Type
audio: Audio
audio/basic: mulaw audio at 8KHz, 1 channel; Defined in RFC 2046audio/mp4: MP4 audioaudio/mpeg: MP3 or other MPEG audio; Defined in RFC 3003audio/ogg: Ogg Vorbis, Speex, Flac and other audio; Defined in RFC 5334audio/vorbis: Vorbis encoded audio; Defined in RFC 5215audio/x-ms-wma: Windows Media Audio; Documented in Microsoft KB 288102audio/vnd.rn-realaudio: RealAudio; Documented in RealPlayer Customer Support Answer 2559audio/vnd.wave: WAV audio; Defined in RFC 2361- Type
image
image/gif: GIF image; Defined in RFC 2045 and RFC 2046image/jpeg: JPEG JFIF image; Defined in RFC 2045 and RFC 2046image/png: Portable Network Graphics; Registered[7], Defined in RFC 2083image/svg+xml: SVG vector image; Defined in RFC 3023image/tiff: Tag Image File Format; Defined in RFC 3302image/vnd.microsoft.icon: ICO image; Registered[8]- Type
message
message/http- Type
model: 3D models- Type
multipart: Archives and other objects made of more than one part
multipart/mixed: MIME E-mail; Defined in RFC 2045 and RFC 2046multipart/alternative: MIME E-mail; Defined in RFC 2045 and RFC 2046multipart/related: MIME E-mail; Defined in RFC 2387 and used by MHTML (HTML mail)multipart/form-data: MIME Webform; Defined in RFC 2388multipart/signed: Defined in RFC 1847multipart/encrypted: Defined in RFC 1847- Type
text: Human-readable text and source code
text/css: Cascading Style Sheets; Defined in RFC 2318text/csv: Comma-separated values; Defined in RFC 4180text/html: HTML; Defined in RFC 2854text/javascript(Obsolete): JavaScript; Defined in and obsoleted by RFC 4329 in order to discourage its usage in favor ofapplication/javascript. However,text/javascriptis allowed in HTML 4 and 5 and, unlikeapplication/javascript, has cross-browser supporttext/plain: Textual data; Defined in RFC 2046 and RFC 3676text/xml: Extensible Markup Language; Defined in RFC 3023- Type
video: Video
video/mpeg: MPEG-1 video with multiplexed audio; Defined in RFC 2045 and RFC 2046video/mp4: MP4 video; Defined in RFC 4337video/ogg: Ogg Theora or other video (with audio); Defined in RFC 5334video/quicktime: QuickTime video; Registered[9]video/x-ms-wmv: Windows Media Video; Documented in Microsoft KB 288102
- Type
vnd: Vendor Specific Files [10]
application/vnd.oasis.opendocument.text: OpenDocument Text; Registered [11]application/vnd.oasis.opendocument.spreadsheet: OpenDocument Spreadsheet; Registered [12]application/vnd.oasis.opendocument.presentation: OpenDocument Presentation; Registered [13]application/vnd.oasis.opendocument.graphics: OpenDocument Graphics; Registered [14]application/vnd.ms-excel: Microsoft Excel filesapplication/vnd.ms-powerpoint: Microsoft Powerpoint filesapplication/msword: Microsoft Word filesapplication/vnd.mozilla.xul+xml: Mozilla XUL files
- Type
x: Non-standard files[10]
application/x-dvi: Digital Video files in DVI formatapplication/x-httpd-php: PHP filesapplication/x-httpd-php-source: PHP source filesapplication/x-latex: LaTeX filesapplication/x-shockwave-flash: Adobe Flash files; Documented in Adobe TechNote tn_4151 and Adobe TechNote tn_16509application/x-stuffit: StuffIt archive filesapplication/x-rar-compressed: RAR archive filesapplication/x-tar: Tarball files
- Type
x-pkcs: PKCS standard files
application/x-pkcs12: p12 filesapplication/x-pkcs12: pfx filesapplication/x-pkcs7-certificates: p7b filesapplication/x-pkcs7-certificates: spc filesapplication/x-pkcs7-certreqresp: p7r filesapplication/x-pkcs7-mime: p7c filesapplication/x-pkcs7-mime: p7m filesapplication/x-pkcs7-signature: p7s files