A thing which represents a specific representation of an information resource: that conveyed by its body or by its source.
The media type of the body may be provided, regardless of whether the body is provided literally or via a source. However, there are restrictions on literal bodies :—
If the media type ends in /xml
or +xml
(case‐insensitively), then the literal body must not be a
If the media type is present, but does not end in /xml
or +xml
(case‐insensitively), then the literal body must not be a
If the body is a language‐tagged string, then there must not be a media type.