Sunday, July 17, 2011

MIME types in HTTP content

HTTP response contains a content type (Ex: text/html) which describes the type of resource which is sent back to the browser. This is a MIME (Multipurpose Internet Mail Extensions) type.

MIME type contains two parts which the first part represents the resource type and the next part represents the resource sub type.

The common MIME types contains the following:

  • Text - HTML, Plain text, XML

  • Image - jpeg, png

  • Audio

  • Video

  • Application

The browser will process the content based on it's MIME type.

To be continued...

No comments:

Post a Comment