Search code examples
httpmime-typescontent-type

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


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?


Solution

  • (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.