MIME Content-Type Header and Discrete Media
MIME uses special techniques to encode various kinds of information into ASCII text form, such as graphical images, sound files, video clips, application programs, compressed data files, and many others. We commonly refer to these as different types of media, and MIME uses the same term to describe them.
Since MIME supports so many kinds of media, it is necessary that each message contain information that describes what it contains to permit accurate decoding of message contents. This is the function of the important MIME Content-Type header.
Content-Type Header Syntax
The syntax of the Content-Type header is as follows:
Content-Type: <type>/<subtype> [; parameter1 ; parameter2 .. ; parameterN ] |
The purpose ...
Get TCP/IP Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.