overrideMimeType method Null safety
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- String mime
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 IANA Official MIME types.
Implementation
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
void overrideMimeType(String mime) native;