REST and Hypermedia: Difference between revisions
Line 9: | Line 9: | ||
'''MIME''' is an internet standard that extends the format of e-mail to support text in [[Character_Encoding#Coded_Character_Set_.28CCS.29|character sets]] other then [[Character_Encoding#US-ASCII|ASCII]], non-text attachments, such as audio, video, images, application programs, etc., message bodies with multiple parts and header information in non-ASCII characters sets. MIME is specified in six linked RFCs: RFC 2045, RFC 2046, RFC 2047, RFC 4288, RFC 4289 and RFC 2049. | '''MIME''' is an internet standard that extends the format of e-mail to support text in [[Character_Encoding#Coded_Character_Set_.28CCS.29|character sets]] other then [[Character_Encoding#US-ASCII|ASCII]], non-text attachments, such as audio, video, images, application programs, etc., message bodies with multiple parts and header information in non-ASCII characters sets. MIME is specified in six linked RFCs: RFC 2045, RFC 2046, RFC 2047, RFC 4288, RFC 4289 and RFC 2049. | ||
MIME is relevant for HTTP: the [[#Media_Type|content types]] define by MIME are used in the definition of HTTP content. HTTP clients use MIME [[#Media_Type|content type] headers to indicate the desired application to process the specific type of content they send. HTTP servers inject MIME [[#Media_Type|content type]] information in all their responses. | |||
==Media Type== | ==Media Type== | ||
A '''media type''', also called a '''content type''' or '''MIME type''' is a short string identifying the format of a document. Usually, knowing a document's format allows us to parse it. | A '''media type''', also called a '''content type''' or '''MIME type''' is a short string identifying the format of a document. Usually, knowing a document's format allows us to parse it. |
Revision as of 02:48, 25 September 2018
Internal
Concepts
Multipurpose Internet Mail Extension (MIME)
MIME is an internet standard that extends the format of e-mail to support text in character sets other then ASCII, non-text attachments, such as audio, video, images, application programs, etc., message bodies with multiple parts and header information in non-ASCII characters sets. MIME is specified in six linked RFCs: RFC 2045, RFC 2046, RFC 2047, RFC 4288, RFC 4289 and RFC 2049.
MIME is relevant for HTTP: the content types define by MIME are used in the definition of HTTP content. HTTP clients use MIME [[#Media_Type|content type] headers to indicate the desired application to process the specific type of content they send. HTTP servers inject MIME content type information in all their responses.
Media Type
A media type, also called a content type or MIME type is a short string identifying the format of a document. Usually, knowing a document's format allows us to parse it.