Reference: Lincoln D. Stein, How to Set Up and Maintain a WWW Site, Addison Wesley, 1995, pp. 42-45.
Definition: MIME means Multipurpose Internet Mail Extensions
MIME was devised for Internet Mail (see RFCs 822 and 1521), to allow a mail message to carry something other than a plain text message. The use of MIME in HTTP differs in several ways from Internet Mail, "to allow greater freedom in the use of new media types, to make date comparisons easier, and to acknowledge the practice of some early HTTP servers and clients." [from HTTP/1.1 spec]
The format of a MIME type (according to the HTTP/1.1 spec) is
type/subtype
"Media-type values are registered with the Internet Assigned Number Authority (IANA). The media type registration process is outlined in RFC 1590 [17]." [from HTTP/1.1 spec]
Internet media types are registered with a canonical form. Thus any client can handle a message from any server in the world.
Examples:
| Type | Description |
|---|---|
| text/html | Data is HTML |
| text/plain | Data is plain text |
| text/richtext | Data is rich text format, meeting RFC1523 |
| text/tab-separated-values | Data is tab separated text |
| video/mpeg | Data is MPEG video |
| video/quicktime | Data is Quicktime movie |
| audio/x-wav | Data is Microsoft "wav" format audio file |
| image/gif | Data is GIF image |
| image/tiff | Data is TIFF image |
| application/msword | Data is Microsoft Word file |
| application/rtf | Data is Microsoft rich text format |
| aplication/zip | Data is compressed with PKZip |
| message/rfc822 | E-mail message, Internet format |
| multipart/mixed | contains multiple MIME types |
How MIME type is set:
Web browsers can present only certain MIME types; for rest, they either
In Netscape 3.0, select the Options menu, then General preferences... to display the following screen:
Return to CS6204 home page.
Last modified on 10 September 1996.
Send comments to abrams@vt.edu.
[This is http://ei.cs.vt.edu/~wwwbtb/fall.96/ClassNotes/Protocols/MIME.html.]