Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

MIME and HTTP

HTTP is heavily dependent on MIME. Each file that is sent to a client browser is prefaced by a MIME header, which tells the browser what sort of document it is receiving. In the absence of a MIME header, the browser would know only that it was receiving a series of bits, and would not know what to make of them. Introduced by a MIME header, that stream of bits becomes a useful piece of data, and the browser can display it appropriately.

HTTP includes a great deal of information in headers, which are in the form: Variable: value and come before the body, or main content portion, of the HTTP transaction. The particular header that specifies the content type of the data that is being sent, is the Content-Type header, and has a very specific format.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint