contentType method
Sets content-type without setting a body.
Implementation
void contentType(String mediaType) {
_headers['content-type'] = mediaType;
}
Sets content-type without setting a body.
void contentType(String mediaType) {
_headers['content-type'] = mediaType;
}