We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59c5400 + 513d36e commit 277374fCopy full SHA for 277374f
5-network/08-xmlhttprequest/article.md
@@ -151,7 +151,7 @@ We can use `xhr.responseType` property to set the response format:
151
- `"text"` -- get as string,
152
- `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter <info:arraybuffer-binary-arrays>),
153
- `"blob"` -- get as `Blob` (for binary data, see chapter <info:blob>),
154
-- `"document"` -- get as XML document (can use XPath and other XML methods),
+- `"document"` -- get as XML document (can use XPath and other XML methods) or HTML document (based on the MIME type of the received data),
155
- `"json"` -- get as JSON (parsed automatically).
156
157
For example, let's get the response as JSON:
0 commit comments