File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
5-network/07-xmlhttprequest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments