etc

Internet media type

by kay posted Aug 14, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

원문 Url : http://en.wikipedia.org/wiki/Internet_media_type


" Content-Type 과 서브타입을 합쳐 "  =  " MIME 타입 "  =  " Internet media type "



Type application

For Multipurpose files:

  • application/atom+xmlAtom feeds
  • application/ecmascriptECMAScript/JavaScript; Defined in RFC 4329 (equivalent to application/javascript but with stricter processing rules)
  • application/EDI-X12EDI X12 data; Defined in RFC 1767
  • application/EDIFACTEDI EDIFACT data; Defined in RFC 1767
  • application/json: JavaScript Object Notation JSON; Defined in RFC 4627
  • application/javascriptECMAScript/JavaScript; Defined in RFC 4329 (equivalent to application/ecmascript but with looser processing rules) It is not accepted in IE 8 or earlier - text/javascript is accepted but it is defined as obsolete in RFC 4329. The "type" attribute of the <script> tag in HTML5 is optional. In practice, omitting the media type of JavaScript programs is the most interoperable solution, since all browsers have always assumed the correct default even before HTML5.
  • application/octet-stream: Arbitrary binary data.[10] 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.[11]
  • application/oggOgg, a multimedia bitstream container format; Defined in RFC 5334
  • application/pdf: Portable Document Format, PDF has been in use for document exchange on the Internet since 1993; Defined in RFC 3778
  • application/postscriptPostScript; Defined in RFC 2046
  • application/rdf+xmlResource Description Framework; Defined by RFC 3870
  • application/rss+xmlRSS feeds
  • application/soap+xmlSOAP; Defined by RFC 3902
  • application/font-woffWeb Open Font Format; (candidate recommendation; use application/x-font-woff until standard is official)
  • application/xhtml+xmlXHTML; Defined by RFC 3236
  • application/xmlXML files; Defined by RFC 3023
  • application/xml-dtdDTD files; Defined by RFC 3023
  • application/xop+xmlXOP
  • application/zipZIP archive files; Registered[12]
  • application/gzipGzip, Defined in RFC 6713

Type audio

For Audio.

Type image

Type message

Type model

For 3D models.

Type multipart

For archives and other objects made of more than one part.

Type text

For human-readable text and source code.

  • text/cmd: commands; subtype resident in Gecko browsers like Firefox 3.5
  • text/cssCascading Style Sheets; Defined in RFC 2318
  • text/csvComma-separated values; Defined in RFC 4180
  • text/htmlHTML; Defined in RFC 2854
  • text/javascript (Obsolete): JavaScript; Defined in and obsoleted by RFC 4329 in order to discourage its usage in favor of application/javascript. However, text/javascript is allowed in HTML 4 and 5 and, unlikeapplication/javascript, has cross-browser support. The "type" attribute of the <script> tag in HTML5 is optional and there is no need to use it at all since all browsers have always assumed the correct default (even in HTML 4 where it was required by the specification).
  • text/plain: Textual data; Defined in RFC 2046 and RFC 3676
  • text/vcardvCard (contact information); Defined in RFC 6350
  • text/xml: Extensible Markup Language; Defined in RFC 3023

Type video

For video.

List of common media subtype prefixes

Prefix vnd

For vendor-specific files.

  • application/vnd.oasis.opendocument.textOpenDocument Text; Registered[16]
  • application/vnd.oasis.opendocument.spreadsheetOpenDocument Spreadsheet; Registered[17]
  • application/vnd.oasis.opendocument.presentationOpenDocument Presentation; Registered[18]
  • application/vnd.oasis.opendocument.graphicsOpenDocument Graphics; Registered[19]
  • application/vnd.ms-excelMicrosoft Excel files
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel 2007 files
  • application/vnd.ms-powerpointMicrosoft Powerpoint files
  • application/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft Powerpoint 2007 files
  • application/vnd.openxmlformats-officedocument.wordprocessingml.documentMicrosoft Word 2007 files
  • application/vnd.mozilla.xul+xmlMozilla XUL files
  • application/vnd.google-earth.kml+xmlKML files (e.g. for Google Earth)[20]
  • application/vnd.google-earth.kmzKMZ files (e.g. for Google Earth)[21]
  • application/vnd.dartDart files [22]
  • application/vnd.android.package-archive: For download apk files.
  • application/vnd.ms-xpsdocument: XPS document[23]

Prefix x

For non-standard files. Deprecated by RFC 6648[2].

  • application/x-debdeb (file format), a software package format used by the Debian project
  • application/x-dvi: device-independent document in DVI format
  • application/x-font-ttfTrueType Font No registered MIME type, but this is the most commonly used
  • application/x-javascript:
  • application/x-latexLaTeX files
  • application/x-mpegURL: .m3u8 variant playlist
  • application/x-rar-compressedRAR archive files
  • application/x-shockwave-flashAdobe Flash files for example with the extension .swf
  • application/x-stuffitStuffIt archive files
  • application/x-tarTarball files
  • application/x-www-form-urlencoded Form Encoded Data; Documented in HTML 4.01 Specification, Section 17.13.4.1
  • application/x-xpinstall: Add-ons to Mozilla applications (FirefoxThunderbirdSeaMonkey, and the discontinued Sunbird)
  • audio/x-aac: .aac audio files
  • audio/x-caf: Apple's CAF audio files
  • image/x-xcf: GIMP image file
  • text/x-gwt-rpc: GoogleWebToolkit data
  • text/x-jquery-tmpljQuery template data
  • text/x-markdownMarkdown formatted text

Prefix x-pkcs

For PKCS standard files.

  • application/x-pkcs12: p12 files
  • application/x-pkcs12: pfx files
  • application/x-pkcs7-certificates: p7b files
  • application/x-pkcs7-certificates: spc files
  • application/x-pkcs7-certreqresp: p7r files
  • application/x-pkcs7-mime: p7c files
  • application/x-pkcs7-mime: p7m files
  • application/x-pkcs7-signature: p7s files