developer747
developer747

Reputation: 15928

Is there a difference between MIME and content type?

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?

Upvotes: 22

Views: 10317

Answers (3)

Narendra Kalekar
Narendra Kalekar

Reputation: 118

Content-Type is a HTTP message header key and its value is (generally) a MIME Type. Possible duplicate What's the difference between mediatype, contenttype and mimetype?

Upvotes: 0

Julian Reschke
Julian Reschke

Reputation: 41997

"Content-Type" is the name of the HTTP header field. The proper technical term for the field value is "(Internet) Media Type" (it used to be "MIME type", but that's not correct anymore since HTTP != MIME).

Upvotes: 4

james.garriss
james.garriss

Reputation: 13388

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.

Upvotes: 12

Related Questions