XMLHttpRequest Methods: overrideMimeType()

By: Dusty Arlia
Published on Monday, November 17, 2014 at 7:55 PM
Last Updated on Tuesday, July 14, 2015 at 2:24 AM
Total Updates: 2

The overrideMimeType() method of the XMLHttpRequest object specifies the mime type that the HTTP server response should be interpreted as. The basic syntax looks like this:

overrideMimeType([mime_type])

The specified mime_type will override the Content-Type HTTP header of the HTTP response.

Comments:

Ad: