A media type is a general category of data content in internet. It was originally known as MIME type and devised to define the content of e-mails. The name changed, because now the term is used in a wider range of applications.
Content type is the same as media type, but it is used in the context of an HTTP header.
Content-Type: application/x-www-form-urlencoded
A media type is composed of a type and a subtype. Common media types are:
An HTML form can only be submitted with one of the following types:
Normally application/x-www-form-urlencoded is the default, whereas multipart/form-data is used with binary data.
Copyright © 2013 Welcome to the website of Davis Fiore. All Rights Reserved.