Skip to content

Commit fde93c9

Browse files
authored
Merge pull request #1023 from tonchique/patch-2
Update article.md
2 parents 9adabf8 + 5a91716 commit fde93c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

5-network/07-xmlhttprequest/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ We can use `xhr.responseType` property to set the response format:
143143
144144
- `""` (default) -- get as string,
145145
- `"text"` -- get as string,
146-
- `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter <info:arraybuffer-and-views>),
146+
- `"arraybuffer"` -- get as `ArrayBuffer` (for binary data, see chapter <info:arraybuffer-binary-arrays>),
147147
- `"blob"` -- get as `Blob` (for binary data, see chapter <info:blob>),
148148
- `"document"` -- get as XML document (can use XPath and other XML methods),
149149
- `"json"` -- get as JSON (parsed automatically).
@@ -261,7 +261,7 @@ There are 3 methods for HTTP-headers:
261261
```
262262

263263
````warn header="Can't remove a header"
264-
Another peciliarity of `XMLHttpRequest` is that one can't undo `setRequestHeader`.
264+
Another peculiarity of `XMLHttpRequest` is that one can't undo `setRequestHeader`.
265265
266266
Once the header is set, it's set. Additional calls add information to the header, don't overwrite it.
267267

0 commit comments

Comments
 (0)