contentType property

MediaType? contentType
getter/setter pair

Content-type of this request.

By default, the mime-type is "text/plain" and the charset is "utf-8". When the request body or the encoding is set or updated, the content-type will be updated accordingly.

Implementation

MediaType? contentType;