XMLHttpRequestResponseType type is an enumerated set of strings which are used to specify the type of data contained in the
response of an
XMLHttpRequest. These values are used when getting or setting the
responseType on the request.
- An empty
responseTypestring is treated the same as
"text", the default type.
ArrayBuffercontaining binary data.
Blobobject containing the binary data.
responseis an HTML
XMLDocument, as appropriate based on the MIME type of the received data. See HTML in XMLHttpRequest to learn more about using XHR to fetch HTML content.
responseis a text in a
responseis part of a streaming download; this response type is only allowed for download requests, and is only supported by Internet Explorer.
A Firefox-only value which instructs
ArrayBufferobjects containing chunks of the incoming data. Accessing
progressevent returns the data received so far. Outside the
progressevent handler, the value of
null. You shouldn't use this non-standard (and, as of Firefox 68, entirely removed) API; instead, consider using the Fetch API with readable streams, which offers a standard alternative to accessing the response in a streaming fashion.
|XMLHttpRequest||Unknown||Live standard, latest version|
BCD tables only load in the browser