Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Searchable, convenient, complete TCP/IP information.
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP File and Message Transfer Applications and Protocols (FTP, TFTP, Electronic Mail, USENET, HTTP/WWW, Gopher)
                9  TCP/IP Electronic Mail System: Concepts and Protocols (RFC 822, MIME, SMTP, POP3, IMAP)
                     9  TCP/IP Electronic Mail Message Formats and Message Processing: RFC 822 and MIME
                          9  TCP/IP Enhanced Electronic Mail Message Format: Multipurpose Internet Mail Extensions (MIME)

Previous Topic/Section
MIME Basic Structures and Headers
Previous Page
Pages in Current Topic/Section
1234
5
Next Page
MIME Composite Media Types: Multipart and Encapsulated Message Structures
Next Topic/Section

MIME Content-Type Header and Discrete Media: Types, Subtypes and Parameters
(Page 5 of 5)

Application Media Type (application)

This media type is a “catch all” for any kind of data that doesn't fit into one of the categories above, or that is inherently application-specific. The subtype describes the data by indicating the kind of application that uses it. This can be used to guide the recipient's e-mail program in choosing an appropriate application program to display it, just like how a file extension in Windows tells the operating system how to open different kinds of files.

For example, if you have Microsoft Excel installed on your PC, clicking a file ending with “.XLS” will launch Excel automatically. Similarly, an Excel spreadsheet will normally be sent using MIME with a media type of application/vnd.ms-excel. This tells the recipient's e-mail program to launch Excel to read this file.

Since there are so many applications out there, there are over a hundred different subtypes within this top-level type. Table 247 contains a few representative samples.


Table 247: MIME application Media Type Subtypes

type/subtype

Description

Defining Source

application/octet-stream

An arbitrary set of binary data octets. See below for more details.

RFC 2046

application/postscript

A Postscript file, used for printing and for generating Adobe Acrobat (PDF) files.

RFC 2046

application/applefile

Resource file information for representing Apple Macintosh files.

Registration with IANA

application/msword

Microsoft Word document. Note that this does not have the “vnd” prefix like most other Microsoft file types.

Registration with IANA

application/pdf

A Portable Document Format (PDF) file, as created by Adobe Acrobat.

Registration with IANA

application/vnd.framemaker

An Adobe FrameMaker file.

Registration with IANA

application/vnd.lotus-1-2-3

A Lotus 1-2-3 file.

Registration with IANA

application/vnd.lotus-notes

A Lotus Notes file.

Registration with IANA

application/vnd.ms-excel

A Microsoft Excel spreadsheet file.

Registration with IANA

application/vnd.ms-powerpoint

A Microsoft Powerpoint presentation file.

Registration with IANA

application/vnd.ms-project

A Microsoft Project file.

Registration with IANA

application/zip

A compressed archive file containing one or more other files, using the ZIP/PKZIP compression format.

Registration with IANA


Of these, there is one special subtype that is worth further mention: the application/octet-stream subtype. This is a “catch all” within the “catch all” of the application type, and just means the file is a sequence of arbitrary binary data. It is usually used when the sender is unsure of what form the data takes, or cannot identify it as belonging to a particular application. When this type is used, the recipient will usually be prompted to just save the data to a file. He or she must then figure out what application to use to read it.

The application/octet-stream MIME type/subtype may even be used for images, audio or video in unknown formats. If you try to send a multimedia document that your sending program does not understand, it will generally encode it as application/octet-stream for transmission. This is your e-mail program's way of saying to the recipient “I am sending you this file as-is, you figure out what to do with it”.

This application/octet-stream type is also very often used for transmitting executable files (programs) especially on Windows systems. Unfortunately, while convenient, this can be a serious security hazard. In recent years, the Internet has been subject to a steady stream of viruses and worms that spread by sending themselves to other users through executable file attachments in e-mail. This makes opening and running any unknown application/octet-stream attachment potentially dangerous.


Previous Topic/Section
MIME Basic Structures and Headers
Previous Page
Pages in Current Topic/Section
1234
5
Next Page
MIME Composite Media Types: Multipart and Encapsulated Message Structures
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.