![]() The parameter values can be case-sensitive. MIME types are case-insensitive but are traditionally written in lowercase. To specify a UTF-8 text file, the MIME type text/plain charset=UTF-8 is used. If no charset is specified, the default is ASCII ( US-ASCII) unless overridden by the user agent's settings. ![]() A MIME type always has both a type and a subtype, never just one or the other.Īn optional parameter can be added to provide additional details: type/subtype parameter=valueįor example, for any MIME type whose main type is text, you can add the optional charset parameter to specify the character set used for the ics) files.Įach type has its own set of possible subtypes. The subtype identifies the exact kind of data of the specified type the MIME type represents.įor example, for the MIME type text, the subtype might be plain (plain text), html ( HTML source code), or calendar (for iCalendar/. ![]() The type represents the general category into which the data type falls, such as video or text. No whitespace is allowed in a MIME type: type/subtype ![]() A MIME type comprises these strings concatenated with a slash ( /). A simplest MIME type consists of a type and a subtype.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |