ContentType 🔗
-
Primitive type:
str
🔗
string
Any content type as in RFC2046.
A media type (also MIME type and content type) […] is a two-part identifier for file formats and format contents transmitted on the Internet. The Internet Assigned Numbers Authority (IANA) is the official authority for the standardization and publication of these classifications. Media types were originally defined in Request for Comments 2045 in November 1996 as a part of MIME (Multipurpose Internet Mail Extensions) specification, for denoting type of email message content and attachments.
Inheritances 🔗
Invariants 🔗
-
Constraint AASd-100: An attribute with data type ``string`` is not allowed to be empty.
(From NonEmptyString)
len(self) >= 1
-
The value must represent a valid content MIME type according to RFC 2046.
MatchesMimeType( self )
Usages
Resource | Resource.contentType |
Blob | Blob.contentType |
File | File.contentType |