[go: nahoru, domu]

Media type: Difference between revisions

Content deleted Content added
Tag: Reverted
Un1Gfn (talk | contribs)
→‎Naming: Asteristic denotes that the preceding optional item can be one or more, doesn't it?
Line 8:
==Naming==
A media type consists of a ''type'' and a ''subtype'', which is further structured into a ''tree''. A media type can optionally define a ''suffix'' and ''parameters'':
: {{code|type "/" [tree "."] subtype ["+" suffix] * [";" parameter]}}
 
As of November 1996, the registered types were: {{code|application}}, {{code|audio}}, {{code|image}}, {{code|message}}, {{code|multipart}}, {{code|text}} and {{code|video}}.<ref name=RFC2045/> By December 2020, the registered types included the foregoing, plus {{code|font}}, {{code|example}}, and {{code|model}}.<ref name="iana-2020-12-09">{{cite web|url=https://www.iana.org/assignments/media-types/media-types.xhtml|title=Media Types|publisher=IANA|date=2020-12-09|access-date=2020-12-15}}</ref>