ContentTypeInit
Summary
Initializer for a Content-Type header value.
Signature
interface ContentTypeInit {
boundary?: string;
charset?: string;
mediaType?: string;
}
Properties
boundary
For multipart entities, the boundary that separates the different parts of the message.
charset
Indicates the character encoding of the content.
For example, utf-8, iso-8859-1.
mediaType
The media type (or MIME type) of the content. This consists of a type and subtype, separated by a slash.
For example, text/html, application/json, image/png.