| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HTTP Entities and Internet Media Types (Page 3 of 3) Other MIME Constructs Used In HTTP In addition to media types, HTTP also borrows from MIME in several other ways. These include the notion of content codings and the use of a header to indicate the length of an entity. Its important to recognize, however, that even though HTTPs handling of Internet media is very similar to that of MIME, it is not identical. In fact, my understanding is that there was an early proposal that HTTP use MIME exactly as defined, but a specific decision was made not do this. We will explore a possible reason why in the next topic. The bottom line, however, is that HTTPs developers chose to adopt concepts from MIME that made sense, and left other parts out. As a result, HTTP messages are not MIME compliant, even though you may see several headers in HTTP messages starting with MIMEs Content- prefix. For example, even though HTTP has a Content-Encoding header, its use is quite different from that of MIMEs, as we will again see in the next topic. Confirmation of the difference between HTTP and MIME can be found in the fact that HTTP does not use the MIME-Version header that is required in MIME messages.
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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||