Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a difference between MIME and content type?

Tags:

While using the f12 tools on ie, when I request a web page, the response header has a content type. Can this also be called MIME type? Or is there a difference?

like image 329
developer747 Avatar asked Nov 23 '12 17:11

developer747


People also ask

Is Content-Type the same as MIME type?

content_type is an alias for mimetype. Historically, this parameter was only called mimetype, but since this is actually the value included in the HTTP Content-Type header, it can also include the character set encoding, which makes it more than just a MIME type specification.

What is Content-Type in MIME?

MIME Content Types consist of a type (such as `` text'') and a subtype (such as `` html''). The most common MIME types relevant to the WWW are: A `` text'' Content-Type, which is used to represent textual information in a number of character sets and formatted text description languages in a standardised manner.

What is the difference between MIME type and media type?

A Media type (formerly known as MIME type) is an identifier for file formats and format contents. Media types are used by different internet technologies like e-mail or HTTP. It consists of the type application with the subtype json.

How many content types are specified in MIME?

There are two classes of type: discrete and multipart.


1 Answers

Strictly speaking MIME and content type are two different things. MIME is a set of standards that was written to extend the capabilities of email messages and has since been applied more broadly to internet content and HTTP. Content type is a header used both in email messages and HTTP.

Practically, however, content type and MIME type are used interchangeably.

To answer your question: In your context, there is no difference.

like image 69
james.garriss Avatar answered Oct 29 '22 06:10

james.garriss