Multipurpose Internet Mail Extensions (MIME)

Why "Mail"?

Lab
  • The user can choose which application is invoked for a particular MIME type.
  • Find out how, in Netscape, you choose applications.
  • Internet Explorer uses a different mechanism. What is it?

The Server Tells the Browser...

Lab
  • Look at conf/mime.types

Food for Thought

Lab
  • Download funny.xxx by clicking on the hyperlink.
    • See your browser misinterpret it.
  • Place this file in your document root.
  • Create a hyperlink that points to this file in a web page in your document root.
  • What kind of interpretation is your browser assuming for funny.xxx?
  • Add xxx to this line to your mime.types file:
    application/msword doc
    so that it becomes:
    application/msword doc xxx
  • Restart Apache.
  • Flush your browser's cache.
  • Open the web page you just edited, click on the new link, and see what your browser does.
  • What is the Content-Type this time?

Extra for Experts