overrideMimeType method

Sets the Content-Type header for the response to the MIME provided.

IE11

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

 

 

Show:
© 2014 Microsoft