void overrideMimeType(
String override
)

Specify a particular MIME type (such as text/xml) desired for the response.

This value must be set before the request has been sent. See also the list of common MIME types

Source

/**
 * Specify a particular MIME type (such as `text/xml`) desired for the
 * response.
 *
 * This value must be set before the request has been sent. See also the list
 * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types)
 */
@DomName('XMLHttpRequest.overrideMimeType')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
void overrideMimeType(String override) => _blink.BlinkXMLHttpRequest.instance.overrideMimeType_Callback_1_(unwrap_jso(this), override);