This documentation is archived and is not being maintained.
overrideMimeType method
Sets the Content-Type header for the response to the MIME provided.
Syntax
XMLHttpRequest.overrideMimeType(mime);
Parameters
- mime [in]
-
Type: DOMString
MIME type to use in header.
Return value
This method does not return a value.
See also
-
XMLHttpRequest