What's the difference between mediatype, contenttype and mimetype?

fasseg picture fasseg · Feb 13, 2012 · Viewed 25.4k times · Source

Is there a difference between mimetype, contenttype and mediatype? (Java's JAX-RS MediaType).

From the wikipedia article i gathered that it's only a content-type in the context of e.g. HTTP requests as a field in a request's header: So are these just synonyms or are there any actual semantic differences between the different terms?

Answer

Julian Reschke picture Julian Reschke · Feb 14, 2012

(Internet) Media Type is the proper technical term.

Content-Type is the name of the HTTP header field used to specify the media type.

MIME Type is the former name for Media Type.